diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-07 09:21:07 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-07 09:43:54 +0000 |
commit | ea5a07968439a79a770fb35071ba555c2c3c54b5 (patch) | |
tree | 77eba2ef058e3a505fc7ac97d04b3ffe3cd52634 /linux/aarch64 | |
parent | 54aee7a38c0c70e468254e1d6c4ef61f36a128f8 (diff) | |
download | strace-ea5a07968439a79a770fb35071ba555c2c3c54b5.tar.gz strace-ea5a07968439a79a770fb35071ba555c2c3c54b5.tar.bz2 strace-ea5a07968439a79a770fb35071ba555c2c3c54b5.tar.xz |
preadv, pwritev: fix number of syscall arguments
The number of preadv and pwritev arguments depends on architecture and
personality. For 64bit and ilp32 it equals to 4, for unaligned 32bit
it equals to 5, and for aligned 32bit it equals to 6.
* linux/aarch64/syscallent1.h: Change the number of preadv and pwritev
arguments to 4.
* linux/alpha/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/tile/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Change the number of preadv and pwritev
arguments to 6.
* linux/sh/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
Diffstat (limited to 'linux/aarch64')
-rw-r--r-- | linux/aarch64/syscallent1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h index 461609c..58edc5e 100644 --- a/linux/aarch64/syscallent1.h +++ b/linux/aarch64/syscallent1.h @@ -67,8 +67,8 @@ { 3, TD, sys_writev, "writev" }, /* 66 */ { 5, TD, sys_pread, "pread64" }, /* 67 */ { 5, TD, sys_pwrite, "pwrite64" }, /* 68 */ - { 5, TD, sys_preadv, "preadv" }, /* 69 */ - { 5, TD, sys_pwritev, "pwritev" }, /* 70 */ + { 4, TD, sys_preadv, "preadv" }, /* 69 */ + { 4, TD, sys_pwritev, "pwritev" }, /* 70 */ { 4, TD|TN, sys_sendfile64, "sendfile" }, /* 71 */ { 6, TD, sys_pselect6, "pselect6" }, /* 72 */ { 5, TD, sys_ppoll, "ppoll" }, /* 73 */ |