[klibc] [klibc:master] SYSCALLS.def: add openat() on 64-bit platforms
klibc-bot for H. Peter Anvin
hpa at zytor.com
Mon May 21 14:47:39 PDT 2012
Commit-ID: cd5927c02749b7c9d58b5144586505c85b903c27
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cd5927c02749b7c9d58b5144586505c85b903c27
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 21 May 2012 10:21:21 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 21 May 2012 10:24:45 -0700
[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 at stro.at>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
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 70838b8..35bcdcf 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);
More information about the klibc
mailing list