diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-01-20 22:37:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-01-20 22:37:35 +0000 |
commit | 7a2645e470f1ba61ffdc71584c670dae6bd3d80c (patch) | |
tree | 89d697d6786754e61c6fc66f0e68a7e5950fa797 /sysdeps | |
parent | 48a1d526d02c60c053193945a1c02709f7851f5a (diff) | |
download | glibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.tar.gz glibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.tar.xz glibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.zip |
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
syscall in more cases.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/faccessat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c index 7c28280ae6..fc8db25e01 100644 --- a/sysdeps/unix/sysv/linux/faccessat.c +++ b/sysdeps/unix/sysv/linux/faccessat.c @@ -45,7 +45,7 @@ faccessat (fd, file, mode, flag) int result; #ifdef __NR_faccessat - if (flag == 0 + if ((flag == 0 || ((flag & ~AT_EACCESS) == 0 && ! __libc_enable_secure)) # ifndef __ASSUME_ATFCTS && __have_atfcts >= 0 # endif |