lkml.org 
[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Dumb question: Why are exceptions such as SIGSEGV not logged
From
Date
"David D. Hagood" <wowbagger@sktc.net> writes:

> Valdis.Kletnieks@vt.edu 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.493 / U:0.288 seconds]
©2003-2011 Jasper Spaans. Advertise on this site