Skip to content

Commit 40745b7

Browse files
committed
x86_64 syscall table update
On Linux, the underlying system calls were renamed in Linux 2.6: pread() became pread64(), and pwrite() became pwrite64(). The system call numbers remained the same. The glibc pread() and pwrite() wrapper functions transparently deal with the change.
1 parent 3cc0fd8 commit 40745b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/x86_64_table.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ _S(13, "rt_sigaction")
3737
_S(14, "rt_sigprocmask")
3838
_S(15, "rt_sigreturn")
3939
_S(16, "ioctl")
40-
_S(17, "pread")
41-
_S(18, "pwrite")
40+
_S(17, "pread64")
41+
_S(18, "pwrite64")
4242
_S(19, "readv")
4343
_S(20, "writev")
4444
_S(21, "access")

0 commit comments

Comments
 (0)