]> granicus.if.org Git - strace/commit
pread, pwrite: fix number of syscall arguments
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 09:35:18 +0000 (09:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 7 May 2013 09:43:55 +0000 (09:43 +0000)
commit5273cb7d607e89043a80da36cf13580567c0dcd0
treef44ec412ebae7e8dce849cfd3c04186b3dc3a8c2
parentea5a07968439a79a770fb35071ba555c2c3c54b5
pread, pwrite: fix number of syscall arguments

The number of pread and pwrite 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 pread and pwrite
arguments to 4.
* linux/alpha/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/or1k/syscallent.h: Change the number of pread and pwrite
arguments to 5.
linux/aarch64/syscallent1.h
linux/alpha/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/or1k/syscallent.h
linux/s390x/syscallent.h
linux/sh64/syscallent.h
linux/tile/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h