From: Linus Benedict Torvalds (torvalds@klaava.Helsinki.FI)
Date: 07/27/92


From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
Subject: Re: C_A_D=0
Date: 27 Jul 1992 19:12:56 GMT

Never write in a patch by hand: it usually gets messed up...

In article <1992Jul27.185353.5771@klaava.Helsinki.FI> I wrote:
>
>(b) apply this "patch" (or wait for my next release):
>
> in linux/kernel/sys.c, ctrl_alt_del():
>
>! if (task[1])
> send_sig(SIGINT,task[1],1);
>
> should be:
>
>! if (task[1] && task[1].sigaction[SIGINT-1].sa_handler)
                                     ^^^
> send_sig(SIGINT,task[1],1);

the 'task[1].sigaction' should obviously be a 'task[1]->sigaction', or
it won't even compile...

                Linus "shamefaced" Torvalds