summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 16:21:39 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 16:21:39 +0000
commitf186d260e20055dcef427cd84b8175fb7b70b81b (patch)
tree3daa74fea849f02f303adaf7e9ab730e5dc281cf /sys/amd64/linux
parent9bb36bc01cd74565fb879d43a4431edff14a2741 (diff)
downloadFreeBSD-src-f186d260e20055dcef427cd84b8175fb7b70b81b.zip
FreeBSD-src-f186d260e20055dcef427cd84b8175fb7b70b81b.tar.gz
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.
Diffstat (limited to 'sys/amd64/linux')
-rw-r--r--sys/amd64/linux/syscalls.master2
1 files changed, 1 insertions, 1 deletions
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); }
OpenPOWER on IntegriCloud