]> granicus.if.org Git - strace/commit
preadv, pwritev: fix number of syscall arguments
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 09:21:07 +0000 (09:21 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 09:43:54 +0000 (09:43 +0000)
commitea5a07968439a79a770fb35071ba555c2c3c54b5
tree77eba2ef058e3a505fc7ac97d04b3ffe3cd52634
parent54aee7a38c0c70e468254e1d6c4ef61f36a128f8
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.
13 files changed:
linux/aarch64/syscallent1.h
linux/alpha/syscallent.h
linux/ia64/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/powerpc/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/tile/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h
linux/xtensa/syscallent.h