summaryrefslogtreecommitdiff
path: root/linux/aarch64
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2013-05-07 08:18:44 +0000
committerDmitry V. Levin <ldv@altlinux.org>2013-05-07 09:43:52 +0000
commiteb1cc1568ccaac829436c70d1627a6b090df37eb (patch)
tree8d37e14126df4cda8cbd27e6cbd958a3b378e505 /linux/aarch64
parent3f4a41a55de2f29bb1a38947ce83bf21073647cb (diff)
downloadstrace-eb1cc1568ccaac829436c70d1627a6b090df37eb.tar.gz
strace-eb1cc1568ccaac829436c70d1627a6b090df37eb.tar.bz2
strace-eb1cc1568ccaac829436c70d1627a6b090df37eb.tar.xz
fallocate: fix number of syscall arguments
The number of fallocate arguments depends on architecture and personality. For 64bit and ilp32 it equals to 4, for 32bit it equals to 6. * linux/aarch64/syscallent1.h: Change the number of fallocate 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/microblaze/syscallent.h: Set fallocate handler and flags.
Diffstat (limited to 'linux/aarch64')
-rw-r--r--linux/aarch64/syscallent1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h
index a8d3a43..461609c 100644
--- a/linux/aarch64/syscallent1.h
+++ b/linux/aarch64/syscallent1.h
@@ -45,7 +45,7 @@
{ 2, TD, sys_fstatfs, "fstatfs64" }, /* 44 */
{ 2, TF, sys_truncate, "truncate64" }, /* 45 */
{ 2, TD, sys_ftruncate, "ftruncate64" }, /* 46 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 47 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 47 */
{ 3, TD|TF, sys_faccessat, "faccessat" }, /* 48 */
{ 1, TF, sys_chdir, "chdir" }, /* 49 */
{ 1, TD, sys_fchdir, "fchdir" }, /* 50 */