diff options
author | maximilian attems <max@stro.at> | 2010-04-16 05:18:40 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-04-21 17:08:49 -0700 |
commit | 75216b5c62b3b3635ae0c6cf7ee47757d7d99100 (patch) | |
tree | de4f648141f9968a6176bf8187e14d7606a10a0c | |
parent | 73a1c9d1bf632b3d5daf0de056e81d9c8157fa18 (diff) | |
download | klibc-75216b5c62b3b3635ae0c6cf7ee47757d7d99100.tar.gz |
pull faccessat() system callklibc-1.5.18
3-arg faccessat is unfortunately an incomplete implementation.
It does not match user-space needs, for example due to wrong answer
when egid != gid.
dash started to detect klibc faccessat() syscall wrapper.
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | usr/include/unistd.h | 1 | ||||
-rw-r--r-- | usr/klibc/SYSCALLS.def | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/usr/include/unistd.h b/usr/include/unistd.h index 547e717b3756e..97760d4eb4995 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -58,7 +58,6 @@ __extern int setfsuid(uid_t); #define F_OK 0 /* Existence */ __extern int access(const char *, int); -__extern int faccessat(int, const char *, int); __extern int link(const char *, const char *); __extern int linkat(int, const char *, int, const char *); __extern int unlink(const char *); diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index ae58b9be89eb5..f81452ca7b607 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -98,7 +98,6 @@ int swapoff(const char *); * Inode-related system calls */ int access(const char *, int); -<?> int faccessat(int, const char *, int); int link(const char *, const char *); <?> int linkat(int, const char *, int, const char *); int unlink(const char *); |