Re: timer + fpu stuff locks my console race

From: Manuel Arostegui Ramirez
Date: Sat Jun 12 2004 - 09:01:19 EST


El Sábado 12 Junio 2004 15:28, stian@xxxxxxxx escribió:
> 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:

I'm going to try the patch on a 2.4.20-8 in about one hour.
Thanks

--
Manuel Arostegui Ramirez #Linux Registered User 200896

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/