From: Denys Vlasenko Date: Fri, 19 Aug 2011 17:01:26 +0000 (+0200) Subject: Correct sys_sendfile[64] type and nargs X-Git-Tag: v4.7~322 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3432059f66df5ce81c42c6e4be91532538be6ccb;p=strace Correct sys_sendfile[64] type and nargs * freebsd/i386/syscallent.h: Correct sys_sendfile nargs 7->8 * linux/mips/syscallent.h: Correct sys_sendfile64 nargs 5->4 * linux/sh/syscallent.h: Correct sys_sendfile64 nargs 5->4 * linux/sh64/syscallent.h: Correct sys_sendfile64 nargs 5->4 * linux/m68k/syscallent.h: Correct sys_sendfile64 type TF->TD|TN * linux/microblaze/syscallent.h: Correct sys_sendfile64 type TF->TD|TN * linux/tile/syscallent.h: Correct sys_sendfile and sys_sendfile64 type TD->TD|TN Signed-off-by: Denys Vlasenko --- diff --git a/freebsd/i386/syscallent.h b/freebsd/i386/syscallent.h index bb6815e7..b801b03e 100644 --- a/freebsd/i386/syscallent.h +++ b/freebsd/i386/syscallent.h @@ -338,7 +338,7 @@ { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 333 */ { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 334 */ { 2, 0, sys_utrace, "utrace" }, /* 335 */ - { 7, TD|TN, sys_sendfile, "sendfile" }, /* 336 */ + { 8, TD|TN, sys_sendfile, "sendfile" }, /* 336 */ { 3, 0, sys_kldsym, "kldsym" }, /* 337 */ { 1, 0, sys_jail, "jail" }, /* 338 */ { -1, 0, printargs, "SYS_339" }, /* 339 */ diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index b5c35d11..d2cda532 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -264,7 +264,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 233 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 234 */ { 6, 0, sys_futex, "futex" }, /* 235 */ - { 4, TF, sys_sendfile64, "sendfile64" }, /* 236 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 236 */ { 3, 0, sys_mincore, "mincore" }, /* 237 */ { 3, 0, sys_madvise, "madvise" }, /* 238 */ { 3, 0, sys_fcntl, "fcntl64" }, /* 239 */ diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index 4a941ec0..fb1fc7eb 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -265,7 +265,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */ { 2, TS, sys_kill, "tkill" }, /* 238 */ - { 4, TF, sys_sendfile64, "sendfile64" }, /* 239 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */ { 6, 0, sys_futex, "futex" }, /* 240 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 241 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 242 */ diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h index e9f953a2..afcad8cf 100644 --- a/linux/mips/syscallent.h +++ b/linux/mips/syscallent.h @@ -4239,7 +4239,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 4234 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 4235 */ { 2, TS, sys_kill, "tkill" }, /* 4236 */ - { 5, TD|TN, sys_sendfile64, "sendfile64" }, /* 4237 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 4237 */ { 6, 0, sys_futex, "futex" }, /* 4238 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 4239 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 4240 */ diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 8dfdd16a..d71a493d 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -271,7 +271,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */ { 2, TD, sys_kill, "tkill" }, /* 238 */ - { 5, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */ { 6, 0, sys_futex, "futex" }, /* 240 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 241 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 242 */ diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index ea01878e..2c3f6da6 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -295,7 +295,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 264 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 265 */ { 2, TD, sys_kill, "tkill" }, /* 266 */ - { 5, TD|TN, sys_sendfile64, "sendfile64" }, /* 267 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 267 */ { 6, 0, sys_futex, "futex" }, /* 268 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 269 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 270 */ diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h index b5481572..42814bc9 100644 --- a/linux/tile/syscallent.h +++ b/linux/tile/syscallent.h @@ -184,7 +184,7 @@ { 2, 0, sys_capget, "capget" }, /* 183 */ { 2, 0, sys_capset, "capset" }, /* 184 */ { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 185 */ - { 4, TD, sys_sendfile, "sendfile" }, /* 186 */ + { 4, TD|TN, sys_sendfile, "sendfile" }, /* 186 */ { 5, 0, sys_getpmsg, "getpmsg" }, /* 187 */ { 5, 0, sys_putpmsg, "putpmsg" }, /* 188 */ { 0, TP, sys_vfork, "vfork" }, /* 189 */ @@ -213,7 +213,7 @@ { 2, TF, sys_removexattr, "lremovexattr" }, /* 212 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 213 */ { 2, TS, sys_kill, "tkill" }, /* 214 */ - { 4, TD, sys_sendfile64, "sendfile64" }, /* 215 */ + { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 215 */ { 5, 0, sys_futex, "futex" }, /* 216 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, /* 217 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, /* 218 */