Re: Can access to /proc/$PID/exe be relaxed?

From: Lennart Poettering
Date: Tue Jul 21 2009 - 13:18:17 EST


On Tue, 21.07.09 19:06, Denys Vlasenko (vda.linux@xxxxxxxxxxxxxx) wrote:

>
> On Tue, Jul 21, 2009 at 6:52 PM, Lennart Poettering<mzxreary@xxxxxxxxxxx> wrote:
> > Hi!
> >
> > Unless I am mistaken a process currently needs CAP_SYS_PTRACE to read
> > /proc/$PID/exe for abritrary processes.
>
> You mean "readlink'?

Yes.

Lennart

--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/