Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-26 Thread Ted Deppner
On Mon, Sep 25, 2000 at 03:02:05PM -0700, Linus Torvalds wrote: > sigdelset(>signal, sig); I just tested this using my perl-5.005-threads program... no change from my last email (only 1023 threads created, program fails to respond to ctrl-c when more than 1023 threads are attempted). This

Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-26 Thread Ted Deppner
On Mon, Sep 25, 2000 at 03:02:05PM -0700, Linus Torvalds wrote: sigdelset(list-signal, sig); I just tested this using my perl-5.005-threads program... no change from my last email (only 1023 threads created, program fails to respond to ctrl-c when more than 1023 threads are attempted).

Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-25 Thread Linus Torvalds
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(>signal, sig); just before the first "return 1" in collect_signal(), and all should be well

Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-25 Thread Linus Torvalds
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