1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the

syscall in more cases.
This commit is contained in:
Ulrich Drepper
2006-01-20 22:37:35 +00:00
parent 48a1d526d0
commit 7a2645e470
2 changed files with 4 additions and 1 deletions

View File

@ -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