From: Denys Vlasenko Date: Mon, 27 Feb 2012 13:58:06 +0000 (+0100) Subject: Correct syscall entries for t[g]kill X-Git-Tag: v4.7~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b60542041aa5e975ef7efe198d8bb5daba82c16;p=strace Correct syscall entries for t[g]kill * linux/hppa/syscallent.h: Make tgkill use sys_tgkill, not printargs. * linux/sh/syscallent.h: Change tkill type TD -> TS. * linux/sh64/syscallent.h: Likewise. * linux/mips/syscallent.h: Change tkill type 0 -> TS. * linux/x86_64/syscallent.h: Likewise. * linux/avr32/syscallent.h: Likewise. Signed-off-by: Denys Vlasenko --- diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index 0b52677d..baba008d 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -217,7 +217,7 @@ { 2, TF, sys_removexattr, "removexattr" }, /* 187 */ { 2, TF, sys_removexattr, "lremovexattr" }, /* 188 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 189 */ - { 2, 0, sys_kill, "tkill" }, /* 190 */ + { 2, TS, sys_kill, "tkill" }, /* 190 */ { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 191 */ { 6, 0, sys_futex, "futex" }, /* 192 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 193 */ diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 40925e95..851898aa 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -264,7 +264,7 @@ { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 256 */ { 2, 0, sys_clock_getres, "clock_getres" }, /* 257 */ { 5, 0, printargs, "clock_nanosleep" }, /* 258 */ - { 5, 0, printargs, "tgkill" }, /* 259 */ + { 3, TS, sys_tgkill, "tgkill" }, /* 259 */ { 5, 0, printargs, "mbind" }, /* 260 */ { 5, 0, printargs, "get_mempolicy" }, /* 261 */ { 5, 0, printargs, "set_mempolicy" }, /* 262 */ diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h index a6a03404..27ca64a4 100644 --- a/linux/mips/syscallent.h +++ b/linux/mips/syscallent.h @@ -5543,7 +5543,7 @@ { 2, 0, sys_removexattr, "removexattr" }, /* 5189 */ { 2, 0, sys_removexattr, "lremovexattr" }, /* 5190 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 5191 */ - { 2, 0, sys_kill, "tkill" }, /* 5192 */ + { 2, TS, sys_kill, "tkill" }, /* 5192 */ { 1, 0, sys_time, "time" }, /* 5193 */ { 6, 0, sys_futex, "futex" }, /* 5194 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 5195 */ @@ -6852,7 +6852,7 @@ { 2, 0, sys_removexattr, "removexattr" }, /* 6189 */ { 2, 0, sys_removexattr, "lremovexattr" }, /* 6190 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 6191 */ - { 2, 0, sys_kill, "tkill" }, /* 6192 */ + { 2, TS, sys_kill, "tkill" }, /* 6192 */ { 1, 0, sys_time, "time" }, /* 6193 */ { 6, 0, sys_futex, "futex" }, /* 6194 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 6195 */ diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 37aa3533..1953b121 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -270,7 +270,7 @@ { 2, TF, sys_removexattr, "removexattr" }, /* 235 */ { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */ - { 2, TD, sys_kill, "tkill" }, /* 238 */ + { 2, TS, sys_kill, "tkill" }, /* 238 */ { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */ { 6, 0, sys_futex, "futex" }, /* 240 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 241 */ diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 5ed592bb..ab007f1b 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -294,7 +294,7 @@ { 2, TF, sys_removexattr, "removexattr" }, /* 263 */ { 2, TF, sys_removexattr, "lremovexattr" }, /* 264 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 265 */ - { 2, TD, sys_kill, "tkill" }, /* 266 */ + { 2, TS, sys_kill, "tkill" }, /* 266 */ { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 267 */ { 6, 0, sys_futex, "futex" }, /* 268 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 269 */ diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 7b939733..b031396e 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -198,7 +198,7 @@ { 2, TF, sys_removexattr, "removexattr" }, /* 197 */ { 2, TF, sys_removexattr, "lremovexattr" }, /* 198 */ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 199 */ - { 2, 0, sys_kill, "tkill" }, /* 200 */ + { 2, TS, sys_kill, "tkill" }, /* 200 */ { 1, 0, sys_time, "time" }, /* 201 */ { 6, 0, sys_futex, "futex" }, /* 202 */ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 203 */