summaryrefslogtreecommitdiff
path: root/lib/getusershell.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-11-12 10:06:29 +0000
committerJim Meyering <jim@meyering.net>2005-11-12 10:06:29 +0000
commit108429b83f3146b54a94b781b1f28ae5ffe114a0 (patch)
tree5fed81c6ba82b5b61f2a8e069101ab1afbc640e2 /lib/getusershell.c
parentaf3cabbf7f6209d13d84052108cd57188b881365 (diff)
downloadcoreutils-108429b83f3146b54a94b781b1f28ae5ffe114a0.tar.xz
Emulate openat-family functions using Linux's procfs, if possible.
Idea and some code from Ulrich Drepper's glibc changes. (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.
Diffstat (limited to 'lib/getusershell.c')
0 files changed, 0 insertions, 0 deletions