Re: [PATCH 1/2] signal: Don't always set SA_IMMUTABLE for forced signals

From: Eric W. Biederman
Date: Fri Nov 19 2021 - 10:08:53 EST


Kees Cook <keescook@xxxxxxxxxxxx> writes:

> On Thu, Nov 18, 2021 at 04:04:58PM -0600, Eric W. Biederman wrote:
>> diff --git a/kernel/signal.c b/kernel/signal.c
>> index 7c4b7ae714d4..02058c983bd6 100644
>> --- a/kernel/signal.c
>> +++ b/kernel/signal.c
>> @@ -1298,6 +1298,12 @@ int do_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p
>> return ret;
>> }
>>
>> +enum sig_handler {
>> + HANDLER_CURRENT, /* If reachable use the current handler */
>> + HANDLER_SIG_DFL, /* Always use SIG_DFL handler semantics */
>> + HANDLER_EXIT, /* Only visible as the proces exit code */
>
> Oh, I just noticed this typo "proces" -> "process"

Fixed. Thank you.

Eric