mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
syscall in more cases.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user