summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2013-05-07 01:25:11 +0000
committerDmitry V. Levin <ldv@altlinux.org>2013-05-07 01:56:09 +0000
commit4996b3a352a5853114e2d0426f3e0fade4e90b3d (patch)
treed5c2c7d96a9c2ab4aeab0cd7b4db7d9c996f4f76
parent828bbd846ef26894b5b9f9e25d7cf302e895d2a2 (diff)
downloadstrace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.gz
strace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.bz2
strace-4996b3a352a5853114e2d0426f3e0fade4e90b3d.tar.xz
readahead: fix number of syscall arguments
The number of readahead arguments depends on architecture and personality. For 64bit and ilp32 it equals to 3, for unaligned 32bit it equals to 4, and for aligned 32bit it equals to 5. * linux/aarch64/syscallent1.h: Set number of readahead arguments to 3. * linux/alpha/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/or1k/syscallent.h: Set number of readahead arguments to 4. * linux/sh/syscallent.h: Likewise. * linux/tile/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Set number of readahead arguments to 5.
-rw-r--r--linux/aarch64/syscallent1.h2
-rw-r--r--linux/alpha/syscallent.h2
-rw-r--r--linux/ia64/syscallent.h2
-rw-r--r--linux/or1k/syscallent.h2
-rw-r--r--linux/s390x/syscallent.h2
-rw-r--r--linux/sh/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
-rw-r--r--linux/xtensa/syscallent.h2
11 files changed, 11 insertions, 11 deletions
diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h
index 39774d5..a8d3a43 100644
--- a/linux/aarch64/syscallent1.h
+++ b/linux/aarch64/syscallent1.h
@@ -211,7 +211,7 @@
{ 2, TN, sys_shutdown, "shutdown" }, /* 210 */
{ 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
{ 3, TN, sys_recvmsg, "recvmsg" }, /* 212 */
- { 4, TD, sys_readahead, "readahead" }, /* 213 */
+ { 3, TD, sys_readahead, "readahead" }, /* 213 */
{ 1, TM, sys_brk, "brk" }, /* 214 */
{ 2, TM, sys_munmap, "munmap" }, /* 215 */
{ 5, TM, sys_mremap, "mremap" }, /* 216 */
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
index fc47985..27c513d 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -405,7 +405,7 @@
{ 3, 0, printargs, "pciconfig_iobase" }, /* 376 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 377 */
{ 0, 0, sys_gettid, "gettid" }, /* 378 */
- { 4, TD, sys_readahead, "readahead" }, /* 379 */
+ { 3, TD, sys_readahead, "readahead" }, /* 379 */
{ 5, 0, NULL, NULL }, /* 380 */
{ 2, TS, sys_kill, "tkill" }, /* 381 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 382 */
diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
index b2824fc..60e75c4 100644
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -1007,7 +1007,7 @@
{ 6, TP, sys_clone, "clone2" }, /* 1213 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 1214 */
{ 2, 0, printargs, "getunwind" }, /* 1215 */
- { 4, TD, sys_readahead, "readahead" }, /* 1216 */
+ { 3, TD, sys_readahead, "readahead" }, /* 1216 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 1217 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 1218 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 1219 */
diff --git a/linux/or1k/syscallent.h b/linux/or1k/syscallent.h
index fd31e7d..4b59f75 100644
--- a/linux/or1k/syscallent.h
+++ b/linux/or1k/syscallent.h
@@ -211,7 +211,7 @@
{ 2, TN, sys_shutdown, "shutdown" }, /* 210 */
{ 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
{ 3, TN, sys_recvmsg, "recvmsg" }, /* 212 */
- { 5, TD, sys_readahead, "readahead" }, /* 213 */
+ { 4, TD, sys_readahead, "readahead" }, /* 213 */
{ 1, TM, sys_brk, "brk" }, /* 214 */
{ 2, TM, sys_munmap, "munmap" }, /* 215 */
{ 5, TM, sys_mremap, "mremap" }, /* 216 */
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
index 4f79668..ef902e6 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -249,7 +249,7 @@
{ 3, TM, sys_madvise, "madvise" }, /* 219 */
{ 3, TD, sys_getdents64, "getdents64" }, /* 220 */
{ MA, 0, NULL, NULL }, /* 221 */
- { 4, TD, sys_readahead, "readahead" }, /* 222 */
+ { 3, TD, sys_readahead, "readahead" }, /* 222 */
{ 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 223 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 224 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 225 */
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
index 4bc9640..bacd5d5 100644
--- a/linux/sh/syscallent.h
+++ b/linux/sh/syscallent.h
@@ -255,7 +255,7 @@
{ 4, 0, NULL, NULL }, /* 222 */
{ 4, 0, NULL, NULL }, /* 223 */
{ 4, 0, sys_gettid, "gettid" }, /* 224 */
- { 5, TD, sys_readahead, "readahead" }, /* 225 */
+ { 4, TD, sys_readahead, "readahead" }, /* 225 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 226 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 227 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 228 */
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
index df98fab..5ac9d99 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -279,7 +279,7 @@
{ 4, 0, NULL, NULL }, /* 250 */
{ 4, 0, NULL, NULL }, /* 251 */
{ 4, 0, sys_gettid, "gettid" }, /* 252 */
- { 5, TD, sys_readahead, "readahead" }, /* 253 */
+ { 3, TD, sys_readahead, "readahead" }, /* 253 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 254 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 255 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 256 */
diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
index eb5023b..81aeb86 100644
--- a/linux/tile/syscallent.h
+++ b/linux/tile/syscallent.h
@@ -211,7 +211,7 @@
{ 2, TN, sys_shutdown, "shutdown" }, /* 210 */
{ 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
{ 3, TN, sys_recvmsg, "recvmsg" }, /* 212 */
- { 4, TD, sys_readahead, "readahead" }, /* 213 */
+ { 3, TD, sys_readahead, "readahead" }, /* 213 */
{ 1, TM, sys_brk, "brk" }, /* 214 */
{ 2, TM, sys_munmap, "munmap" }, /* 215 */
{ 5, TM, sys_mremap, "mremap" }, /* 216 */
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 0098e76..6a84061 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -185,7 +185,7 @@
{ 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
{ 3, 0, sys_security, "security" }, /* 185 */
{ 0, 0, sys_gettid, "gettid" }, /* 186 */
- { 4, TD, sys_readahead, "readahead" }, /* 187 */
+ { 3, TD, sys_readahead, "readahead" }, /* 187 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 188 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 189 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 190 */
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
index e56bd8e..d5437cb 100644
--- a/linux/x86_64/syscallent.h
+++ b/linux/x86_64/syscallent.h
@@ -185,7 +185,7 @@
{ 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
{ 3, 0, sys_security, "security" }, /* 185 */
{ 0, 0, sys_gettid, "gettid" }, /* 186 */
- { 4, TD, sys_readahead, "readahead" }, /* 187 */
+ { 3, TD, sys_readahead, "readahead" }, /* 187 */
{ 5, TF, sys_setxattr, "setxattr" }, /* 188 */
{ 5, TF, sys_setxattr, "lsetxattr" }, /* 189 */
{ 5, TD, sys_fsetxattr, "fsetxattr" }, /* 190 */
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
index e87764e..acaccbd 100644
--- a/linux/xtensa/syscallent.h
+++ b/linux/xtensa/syscallent.h
@@ -250,7 +250,7 @@
{ 5, 0, printargs, "request_key" }, /* 257 */
{ 5, 0, printargs, "keyctl" }, /* 258 */
[259] = { },
- { 4, TD, sys_readahead, "readahead" }, /* 260 */
+ { 5, TD, sys_readahead, "readahead" }, /* 260 */
{ 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 261 */
{ 5, TM, sys_migrate_pages, "migrate_pages" }, /* 262 */
{ 0, TM, sys_mbind, "mbind" }, /* 263 */