[PATCH 17/27] selftests/landlock: Fix SIGURG handler setup in scoped_signal_test

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 8 14:32:41 UTC 2026


> Drop SA_SIGINFO, and rename the function to setup_sigurg_handler()
> without the parameter.
> 
> * Drop the SA_SIGINFO flag: This flag implies that we use the
>   three-argument sa_sigaction signal handlers, which is not the case
>   here. (c.f. sigaction(2))
> * Remove the "int signal" argument and rename the function:
>   The function was already specific to SIGURG and this is better
>   communicated through a different name.
> 
> Assisted-by: LLM
> Signed-off-by: Günther Noack <gnoack3000 at gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261008142604.39107-2-gnoack3000@gmail.com?part=17




More information about the Linux-security-module-archive mailing list