Re: suid/sgid programs can't read their own memory

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Tue, 21 Sep 1999 17:20:48 +0200


Robert Bihlmeyer wrote:
> because of the p->dumpable check in `proc_pid_fill_inode'
> (fs/proc/base.c), binaries that are set[ug]id are not permitted to
> open "/proc/self/mem" (since this is owned by 0.0 in this case). Is
> this a bug, or am I just missing the rationale for this?

I reported this years ago and there was given a rationale... but I don't
remember what it was.

-- Jamie

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