On Wed, 9 Nov 2005, Ulrich Drepper wrote:
Can we please get the openat() syscall implemented? I know Linus already
declared this is a good idea and I can only stress that it is really essential
for some things. It is today impossible to write correct code which uses long
pathnames since all these operations would require the use of chdir() which
affect the whole POSIX process and not just one thread. In addition we have
the reduction of race conditions.
oh sweet i've always wanted this for perf improvements in multithreaded programs which have to deal with lots of lookups deep in a directory tree (especially over NFS).
would this include other related syscalls such as link, unlink, rename, chown, chmod... so that the the virtualization of the "current working directory" concept is more complete?