Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 19 Oct 1998 02:53:26 +0100 (BST)


> ok, sorry - it doesn't. SLAP!
>
> I assume this is because we don't want core to follow links, but
> don't have O_NOFOLLOW semantics in VFS?
>
> Hmm... even with the above, cd /tmp, ln /etc/passwd core would still
> be bad.
>
> Maybe, O_NOFOLLOW | O_INODESINGLEREF or is that too ugly?

No its because whoever wrote the code to do the 2.1.x core dump sanity
checks was using decaff by mistake. The logic doesnt make sense at all

Alan

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