aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-20 22:37:35 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-20 22:37:35 +0000
commit7a2645e470f1ba61ffdc71584c670dae6bd3d80c (patch)
tree89d697d6786754e61c6fc66f0e68a7e5950fa797 /sysdeps
parent48a1d526d02c60c053193945a1c02709f7851f5a (diff)
downloadglibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.zip
glibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.tar.gz
glibc-7a2645e470f1ba61ffdc71584c670dae6bd3d80c.tar.bz2
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c
index 7c28280..fc8db25 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