diff options
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 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 |