[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : Re: openat-proc

From: Bastien ROUCARIES
Subject: RE : Re: openat-proc
Date: Mon, 9 May 2011 20:06:39 +0200

Sorry for top post (android)

Proposed algo:
follow link /proc/self/fd/ofd/../proc
If bug will resolve to
/proc/self/fd/proc that does not exist
If not bug suceed (because we have already opened /proc


Le 9 mai 2011 19:37, "Eric Blake" <address@hidden> a écrit :

On 05/09/2011 05:49 AM, Bastien ROUCARIES wrote:
> Hi,
> I am trying to modularize openat-proc, i...

How can you guarantee that /proc/self/fd/../proc does not exist?  If fd
is /usr, then it resolves to /usr/../proc which resolves to /proc which
does exist.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]