summaryrefslogtreecommitdiff
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
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.
-rw-r--r--linux/aarch64/syscallent1.h2
-rw-r--r--linux/alpha/syscallent.h2
-rw-r--r--linux/microblaze/syscallent.h2
-rw-r--r--linux/mips/syscallent-n32.h2
-rw-r--r--linux/mips/syscallent-n64.h2
-rw-r--r--linux/s390x/syscallent.h2
-rw-r--r--linux/sh64/syscallent.h2
-rw-r--r--linux/tile/syscallent.h2
-rw-r--r--linux/x32/syscallent.h2
-rw-r--r--linux/x86_64/syscallent.h2
10 files changed, 10 insertions, 10 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 */
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
index 2b89492..9062e95 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -506,7 +506,7 @@
{ 4, TD, sys_timerfd, "timerfd" }, /* 477 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 478 */
{ 5, TN, sys_recvmmsg, "recvmmsg" }, /* 479 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 480 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 480 */
{ 2, TD, sys_timerfd_create, "timerfd_create" }, /* 481 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 482 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 483 */
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
index bc286c8..53b8877 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -350,7 +350,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 321 */
{ 2, TD, sys_timerfd_create, "timerfd_create" }, /* 322 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 323 */
- { 6, 0, printargs, "fallocate" }, /* 324 */
+ { 6, TD, sys_fallocate, "fallocate" }, /* 324 */
{ 5, TI, sys_semtimedop, "semtimedop" }, /* 325 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 326 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 327 */
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index b3d3a33..d85c80d 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -283,7 +283,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 6280 */
{ 0, 0, NULL, NULL }, /* 6281 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 6282 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 6283 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 6283 */
{ 2, TD, sys_timerfd_create, "timerfd_create" }, /* 6284 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 6285 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 6286 */
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
index b9101d3..70d9364 100644
--- a/linux/mips/syscallent-n64.h
+++ b/linux/mips/syscallent-n64.h
@@ -279,7 +279,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 5276 */
{ 0, 0, NULL, NULL }, /* 5277 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 5278 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 5279 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 5279 */
{ 2, TD, sys_timerfd_create, "timerfd_create" }, /* 5280 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 5281 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 5282 */
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
index 97658ae..18636be 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -341,7 +341,7 @@
{ 3, 0, sys_getcpu, "getcpu" }, /* 311 */
{ 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 312 */
{ 2, TF, sys_utimes, "utimes" }, /* 313 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 314 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 314 */
{ 4, TD|TF, sys_utimensat, "utimensat" }, /* 315 */
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 316 */
{ 4, TD, sys_timerfd, "timerfd" }, /* 317 */
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
index 2ecacb1..f9bb61d 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -378,7 +378,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 349 */
{ 4, TD, sys_timerfd, "timerfd" }, /* 350 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 351 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 352 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 352 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 353 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 354 */
{ 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 355 */
diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
index 81aeb86..9a57e63 100644
--- a/linux/tile/syscallent.h
+++ b/linux/tile/syscallent.h
@@ -45,7 +45,7 @@
{ 2, TD, sys_fstatfs, "fstatfs" }, /* 44 */
{ 2, TF, sys_truncate, "truncate" }, /* 45 */
{ 2, TD, sys_ftruncate, "ftruncate" }, /* 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 */
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 6a84061..47b6108 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -283,7 +283,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 282 */
{ 2, TD, sys_timerfd_create, "timerfd_create"}, /* 283 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 284 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 285 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 285 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 286 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 287 */
{ 4, TN, sys_accept4, "accept4" }, /* 288 */
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
index f6cf00f..e7ddba6 100644
--- a/linux/x86_64/syscallent.h
+++ b/linux/x86_64/syscallent.h
@@ -283,7 +283,7 @@
{ 3, TD|TS, sys_signalfd, "signalfd" }, /* 282 */
{ 2, TD, sys_timerfd_create, "timerfd_create"}, /* 283 */
{ 1, TD, sys_eventfd, "eventfd" }, /* 284 */
- { 6, TD, sys_fallocate, "fallocate" }, /* 285 */
+ { 4, TD, sys_fallocate, "fallocate" }, /* 285 */
{ 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 286 */
{ 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 287 */
{ 4, TN, sys_accept4, "accept4" }, /* 288 */