Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
	syscall in more cases.
  • Loading branch information
Ulrich Drepper committed Jan 20, 2006
1 parent 48a1d52 commit 7a2645e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
2006-01-20 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
syscall in more cases.

* io/Makefile (tests): Add tst-symlinkat, tst-linkat, and
tst-readlinkat.
* io/tst-symlinkat.c: New file.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/faccessat.c
Expand Up @@ -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
Expand Down

0 comments on commit 7a2645e

Please sign in to comment.