[lkml]   [2000]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

Duh. This was a really stupid bug.

In kernel/signal.c, collect_signal(), for the case where we don't find a
siginfo block, we need to clear the signal set.

In short, add the line

sigdelset(&list->signal, sig);

just before the first "return 1" in collect_signal(), and all should be
well (famous last words - it's untested, but I'm sure that's it).

If I'm right, the kernel didn't properly crash, but it would send the
signal on and on again forever, which would basically kill the machine if
something like init or X or a number of other important cases got stuck
doing nothing.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:39    [W:0.033 / U:3.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site