Messages in this thread | | | Date | Sat, 12 Jun 2004 22:50:02 +0900 | From | Kalin KOZHUHAROV <> | Subject | Re: timer + fpu stuff locks my console race |
| |
stian@nixia.no wrote: > 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:
Does this work for 2.6.{6,7} ?
Kalin.
-- ||///_ o ***************************** ||//'_/> WWW: http://ThinRope.net/ |||\/<" |||\\ ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - 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/
| |