Re: Dumb question: Why are exceptions such as SIGSEGV not logged

From: Doug McNaught
Date: Sat Aug 16 2003 - 18:21:20 EST


"David D. Hagood" <wowbagger@xxxxxxxx> writes:

> Valdis.Kletnieks@xxxxxx wrote:
>
> > Consider this code:
> > char *foo = 0;
> > sigset(SIGSEGV,SIG_IGNORE);
> > for(;;) { *foo = '\5'; }
> > Your logfiles just got DoS'ed....
>
>
> Why not then just log uncaught exceptions?

You can still DoS by forking repeatedly and having the child die with
SEGV...

-Doug
-
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/