[lkml]   [1998]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
From said:
> Because the VFS doesn't support this - and it still doesn't help in
> the hard link instance.

> I've yet to here why stat then a sanity check won't work.

In the coredump case, I'm not sure - but in general it's because there's a
race condition. Someone can put the 'evil' symlink in place between the stat()
and the open().

Even in the coredump case there's a race, but presumably there's a lock
somewhere that we can use to make it seem atomic.

---- ---- ----
David Woodhouse Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger for PGP key.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean