bug-gnulib
[Top][All Lists]
Advanced

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

openat-proc


From: Bastien ROUCARIES
Subject: openat-proc
Date: Mon, 9 May 2011 13:49:08 +0200
User-agent: KMail/1.13.5 (Linux/2.6.37-trunk-amd64; KDE/4.4.5; x86_64; ; )

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 open and stat /../proc 
fd.

If the bug is present it will expand to /proc/self/fd//../proc that will not be 
present and stat will return ENOENT 

Bastien




reply via email to

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