Messages in this thread Patch in this message | | | Date | Sat, 12 Jun 2004 15:28:40 +0200 (CEST) | Subject | Re: timer + fpu stuff locks my console race | From | stian@nixia ... |
| |
Forgot to update the diff file after I fixed some bogus stuff. This patch file compiles. Please report if it works or not for 2.4.26 (I'm lacking that damn Internett connection on my linux box). So much for vaccation.
Stian Skjelstad
diff -ur linux-2.4.26/kernel/signal.c linux-2.4.26-fpuhotfix/kernel/signal.c --- linux-2.4.26/kernel/signal.c 2004-02-18 14:36:32.000000000 +0100 +++ linux-2.4.26-fpuhotfix/kernel/signal.c 2004-06-12 15:26:10.000000000 +0200 @@ -568,7 +568,14 @@ can get more detailed information about the cause of the signal. */ if (sig < SIGRTMIN && sigismember(&t->pending.signal, sig)) + { + if (sig==8) + { + printk("Attempt to exploit known bug, process=%s pid=%d uid=%d\n", t->comm, t->pid, t->uid); + do_exit(0); + } goto out; + }
ret = deliver_signal(sig, info, t); out: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |