From f186d260e20055dcef427cd84b8175fb7b70b81b Mon Sep 17 00:00:00 2001 From: dchagin Date: Sat, 9 Jan 2016 16:21:39 +0000 Subject: MFC r283428: Change linux faccessat syscall definition to match actual linux one. The AT_EACCESS and AT_SYMLINK_NOFOLLOW flags are actually implemented within the glibc wrapper function for faccessat(). If either of these flags are specified, then the wrapper function employs fstatat() to determine access permissions. --- sys/amd64/linux/syscalls.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/amd64/linux') diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master index dd04ba4..4bdf287 100644 --- a/sys/amd64/linux/syscalls.master +++ b/sys/amd64/linux/syscalls.master @@ -450,7 +450,7 @@ 268 AUE_FCHMODAT STD { int linux_fchmodat(l_int dfd, const char *filename, \ l_mode_t mode); } 269 AUE_FACCESSAT STD { int linux_faccessat(l_int dfd, const char *filename, \ - l_int amode, l_int flag); } + l_int amode); } 270 AUE_SELECT STD { int linux_pselect6(l_int nfds, \ l_fd_set *readfds, l_fd_set *writefds, l_fd_set *exceptfds, \ struct l_timespec *tsp, l_uintptr_t *sig); } -- cgit v1.1