This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 10/21/2013 02:04 PM, Joseph S. Myers wrote:
On Mon, 21 Oct 2013, Florian Weimer wrote:On 10/21/2013 12:25 AM, Rich Felker wrote:There is already a clean, portable way to achieve the exact same thing: the *at functions.fsetxattrat is missing, though. Probably more.Feel free to propose/implement new *at functions for glibc. That doesn't depend on kernel support (although kernel support would be good) because you can implement them in userspace using /proc/self/fd, just like many existing fallback implementations for !__ASSUME_ATFCTS.
Interesting. Is constructing such names static const char procfd[] = "/proc/self/fd/%d/%s";race-free? I'm asking because the /proc/self/fd entries are presented as symbolic links.
-- Florian Weimer / Red Hat Product Security Team
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |