]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 12 Nov 2005 10:06:34 +0000 (10:06 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 Nov 2005 10:06:34 +0000 (10:06 +0000)
lib/ChangeLog

index bf22c1d5e16085ab0f8b36e432cddb9b00af3eee..53c8e7f17d6eae46acee5f8cb6e851dc19e635e8 100644 (file)
@@ -1,3 +1,14 @@
+2005-11-12  Jim Meyering  <jim@meyering.net>
+
+       Emulate openat-family functions using Linux's procfs, if possible.
+       Idea and some code from Ulrich Drepper's glibc changes.
+
+       * openat.c: (BUILD_PROC_NAME): New macro.
+       Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h".
+       (rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s,
+       before falling back on save_cwd and restore_cwd.
+       (fdopendir, fstatat, unlinkat): Likewise.
+
 2005-11-11  Jim Meyering  <jim@meyering.net>
 
        * openat.c (fstatat, unlinkat): Perform the syscall directly,