|
From: | Bastien ROUCARIES |
Subject: | RE : Re: openat-proc |
Date: | Mon, 9 May 2011 20:06:39 +0200 |
Sorry for top post (android)
Proposed algo:
Ofd=open(/proc,o_search)
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
Bastien
Le 9 mai 2011 19:37, "Eric Blake" <address@hidden> a écrit :On 05/09/2011 05:49 AM, Bastien ROUCARIES wrote:
How can you guarantee that /proc/self/fd/../proc does not exist? If fd
> Hi,
>
> I am trying to modularize openat-proc, i...
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
[Prev in Thread] | Current Thread | [Next in Thread] |