musl/src/stat
Rich Felker dc9c40a609 fix missing flags arg to fstatat syscall in fstat fallback path
this code path is used only on archs without the plain, non-at
syscalls, and only when the fstat syscall fails with EBADF on a valid
file descriptor. this in turn can happen only for O_PATH file
descriptors, and may not happen at all on the newer kernels needed for
supporting such archs.

with the flags argument omitted, spurious fstat failures may happen
when the argument register happens to have the AT_SYMLINK_NOFOLLOW bit
set.
2014-07-18 15:24:04 -04:00
..
__xstat.c add __xmknod and __xmknodat abi-compat functions 2014-06-22 00:37:12 -04:00
chmod.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
fchmod.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
fchmodat.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
fstat.c fix missing flags arg to fstatat syscall in fstat fallback path 2014-07-18 15:24:04 -04:00
fstatat.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
futimens.c implement futimens and utimensat 2011-02-27 03:48:57 -05:00
futimesat.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
lchmod.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
lstat.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
mkdir.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
mkdirat.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
mkfifo.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mkfifoat.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mknod.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
mknodat.c fix mknod and mknodat to accept large dev_t values 2013-05-16 16:27:37 -04:00
stat.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
statvfs.c improve [f]stat[v]fs functions, and possibly work around old kernels 2013-07-19 02:48:18 -04:00
umask.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
utimensat.c support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00