On 05/09/2011 02:34 PM, Eric Blake wrote:
> On 05/09/2011 01:10 PM, Eric Blake wrote:
>> On 05/09/2011 12:06 PM, Bastien ROUCARIES wrote:
>>> Sorry for top post (android)
>>>
>>> Proposed algo:
>>> Ofd=open(/proc,o_search)
>>> follow link /proc/self/fd/ofd/../proc
>>> If bug will resolve to
>>> /pr
On 05/09/2011 01:10 PM, Eric Blake wrote:
> On 05/09/2011 12:06 PM, Bastien ROUCARIES wrote:
>> 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 su
On 05/09/2011 12:06 PM, Bastien ROUCARIES wrote:
> 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
I still
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 ebl...@redhat.com
On 05/09/2011 05:49 AM, Bastien ROUCARIES wrote:
> Hi,
>
> I am trying to modularize openat-proc, in order to create an openat using
> passfd. I have created a test file for openat-proc, and I
> think we could a little bit simplify the test of solaris bug, and drop a
> depend
Hi,
I am trying to modularize openat-proc, in order to create an openat using
passfd. I have created a test file for openat-proc, and I
think we could a little bit simplify the test of solaris bug, and drop a
dependency on same inode.
Instead of comparing /proc/self inode why not trying to