Re: core dump odities

H. Peter Anvin (hpa@transmeta.com)
1 Oct 1997 20:28:48 GMT


Followup to: <19971001125617.45712@atrey.karlin.mff.cuni.cz>
By author: Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
In newsgroup: linux.dev.kernel
>
> I _think_ that if I'm suser(), than current->dumpable should not be
> reset. After all, that program now lost all it privilegs and there are
> probably other ways how to read its address space - so there may be
> nothing important in there.
>

Actually, the rule is that if the dumpable flag is clear, only root
may read that process' address space though any means -- /proc,
ptrace() etc. Any violation of that is a bug.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables