diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-05-21 10:21:21 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-05-21 10:24:45 -0700 |
commit | cd5927c02749b7c9d58b5144586505c85b903c27 (patch) | |
tree | 7db8d4595642bd0d05aa9b01c9144c97286ffd2b | |
parent | 891b756f00c5174ab82a07ca30c2ebdecda3feef (diff) | |
download | klibc-cd5927c02749b7c9d58b5144586505c85b903c27.tar.gz |
[klibc] SYSCALLS.def: add openat() on 64-bit platforms
We had __openat() as a system call on 32 bits, wrappered in openat.c;
however, the unwrappered system call used on 64-bit platforms was
missing from SYSCALLS.def.
Reported-by: Maximilan Attems <max@stro.at>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/klibc/SYSCALLS.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index 70838b88f44a7..35bcdcf22c389 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -157,6 +157,7 @@ int getcwd::__getcwd(char *, size_t); <!i386,m68k,64> int open::__open(const char *, int, mode_t); <?!i386,m68k,64> int openat::__openat(int, const char *, int, mode_t); <64> int open(const char *, int, mode_t); +<64> int openat(int, const char *, int, mode_t); ssize_t read(int, void *, size_t); ssize_t write(int, const void *, size_t); int close(int); |