Blame SOURCES/0131-Introduce-SYS_FUNC-tkill.patch

9a4987
From 98cb4de5002be3b81c45489200bcab0ae323123d Mon Sep 17 00:00:00 2001
9a4987
From: =?UTF-8?q?=C3=81kos=20Uzonyi?= <uzonyi.akos@gmail.com>
9a4987
Date: Mon, 27 Jul 2020 20:54:07 +0200
9a4987
Subject: [PATCH 131/138] Introduce SYS_FUNC(tkill)
9a4987
9a4987
This is going to be needed to implement pidns support
9a4987
in tkill syscall decoder.
9a4987
9a4987
syscallent*.h files are updated automatically by:
9a4987
  git grep -l 'SEN(kill).*"tkill"' |
9a4987
  xargs sed -i '/"tkill"/ s/SEN(kill)/SEN(tkill)/'
9a4987
9a4987
* signal.c (SYS_FUNC(tkill)): New syscall decoder.
9a4987
* linux/32/syscallent.h: Use SEN(tkill) for "tkill" syscall.
9a4987
* linux/64/syscallent.h: Likewise.
9a4987
* linux/alpha/syscallent.h: Likewise.
9a4987
* linux/arm/syscallent.h: Likewise.
9a4987
* linux/avr32/syscallent.h: Likewise.
9a4987
* linux/bfin/syscallent.h: Likewise.
9a4987
* linux/hppa/syscallent.h: Likewise.
9a4987
* linux/i386/syscallent.h: Likewise.
9a4987
* linux/ia64/syscallent.h: Likewise.
9a4987
* linux/m68k/syscallent.h: Likewise.
9a4987
* linux/microblaze/syscallent.h: Likewise.
9a4987
* linux/mips/syscallent-n32.h: Likewise.
9a4987
* linux/mips/syscallent-n64.h: Likewise.
9a4987
* linux/mips/syscallent-o32.h: Likewise.
9a4987
* linux/powerpc/syscallent.h: Likewise.
9a4987
* linux/powerpc64/syscallent.h: Likewise.
9a4987
* linux/s390/syscallent.h: Likewise.
9a4987
* linux/s390x/syscallent.h: Likewise.
9a4987
* linux/sh/syscallent.h: Likewise.
9a4987
* linux/sh64/syscallent.h: Likewise.
9a4987
* linux/sparc/syscallent.h: Likewise.
9a4987
* linux/sparc64/syscallent.h: Likewise.
9a4987
* linux/x32/syscallent.h: Likewise.
9a4987
* linux/x86_64/syscallent.h: Likewise.
9a4987
* linux/xtensa/syscallent.h: Likewise.
9a4987
---
9a4987
 linux/32/syscallent.h         | 2 +-
9a4987
 linux/64/syscallent.h         | 2 +-
9a4987
 linux/alpha/syscallent.h      | 2 +-
9a4987
 linux/arm/syscallent.h        | 2 +-
9a4987
 linux/avr32/syscallent.h      | 2 +-
9a4987
 linux/bfin/syscallent.h       | 2 +-
9a4987
 linux/hppa/syscallent.h       | 2 +-
9a4987
 linux/i386/syscallent.h       | 2 +-
9a4987
 linux/ia64/syscallent.h       | 2 +-
9a4987
 linux/m68k/syscallent.h       | 2 +-
9a4987
 linux/microblaze/syscallent.h | 2 +-
9a4987
 linux/mips/syscallent-n32.h   | 2 +-
9a4987
 linux/mips/syscallent-n64.h   | 2 +-
9a4987
 linux/mips/syscallent-o32.h   | 2 +-
9a4987
 linux/powerpc/syscallent.h    | 2 +-
9a4987
 linux/powerpc64/syscallent.h  | 2 +-
9a4987
 linux/s390/syscallent.h       | 2 +-
9a4987
 linux/s390x/syscallent.h      | 2 +-
9a4987
 linux/sh/syscallent.h         | 2 +-
9a4987
 linux/sh64/syscallent.h       | 2 +-
9a4987
 linux/sparc/syscallent.h      | 2 +-
9a4987
 linux/sparc64/syscallent.h    | 2 +-
9a4987
 linux/x32/syscallent.h        | 2 +-
9a4987
 linux/x86_64/syscallent.h     | 2 +-
9a4987
 linux/xtensa/syscallent.h     | 2 +-
9a4987
 signal.c                      | 9 +++++++++
9a4987
 26 files changed, 34 insertions(+), 25 deletions(-)
9a4987
9a4987
diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h
9a4987
index c74ab18..79c36e0 100644
9a4987
--- a/linux/32/syscallent.h
9a4987
+++ b/linux/32/syscallent.h
9a4987
@@ -142,7 +142,7 @@
9a4987
 /* [127] sched_rr_get_interval */
9a4987
 [128] = { 0,	0,		SEN(restart_syscall),		"restart_syscall"	},
9a4987
 [129] = { 2,	TS|TP,		SEN(kill),			"kill"			},
9a4987
-[130] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[130] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [131] = { 3,	TS|TP,		SEN(tgkill),			"tgkill"		},
9a4987
 [132] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
9a4987
 [133] = { 2,	TS,		SEN(rt_sigsuspend),		"rt_sigsuspend"		},
9a4987
diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h
9a4987
index 3fb1305..ce5602e 100644
9a4987
--- a/linux/64/syscallent.h
9a4987
+++ b/linux/64/syscallent.h
9a4987
@@ -135,7 +135,7 @@
9a4987
 [127] = { 2,	0,		SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"},
9a4987
 [128] = { 0,	0,		SEN(restart_syscall),		"restart_syscall"	},
9a4987
 [129] = { 2,	TS|TP,		SEN(kill),			"kill"			},
9a4987
-[130] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[130] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [131] = { 3,	TS|TP,		SEN(tgkill),			"tgkill"		},
9a4987
 [132] = { 2,	TS,		SEN(sigaltstack),		"sigaltstack"		},
9a4987
 [133] = { 2,	TS,		SEN(rt_sigsuspend),		"rt_sigsuspend"		},
9a4987
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
9a4987
index 93f0b0e..7859b9c 100644
9a4987
--- a/linux/alpha/syscallent.h
9a4987
+++ b/linux/alpha/syscallent.h
9a4987
@@ -325,7 +325,7 @@
9a4987
 [378] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
 [379] = { 3,	TD,		SEN(readahead),			"readahead"		},
9a4987
 [380] = { },
9a4987
-[381] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[381] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [382] = { 5,	TF,		SEN(setxattr),			"setxattr"		},
9a4987
 [383] = { 5,	TF,		SEN(setxattr),			"lsetxattr"		},
9a4987
 [384] = { 5,	TD,		SEN(fsetxattr),			"fsetxattr"		},
9a4987
diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
9a4987
index 73497b6..87b0687 100644
9a4987
--- a/linux/arm/syscallent.h
9a4987
+++ b/linux/arm/syscallent.h
9a4987
@@ -245,7 +245,7 @@
9a4987
 [235] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [236] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [237] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[238] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[238] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [239] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [240] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [241] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
9a4987
index b3cf2da..491ff8e 100644
9a4987
--- a/linux/avr32/syscallent.h
9a4987
+++ b/linux/avr32/syscallent.h
9a4987
@@ -196,7 +196,7 @@
9a4987
 [187] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [188] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [189] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[190] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[190] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [191] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [192] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [193] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
9a4987
index b93a844..53d5c23 100644
9a4987
--- a/linux/bfin/syscallent.h
9a4987
+++ b/linux/bfin/syscallent.h
9a4987
@@ -244,7 +244,7 @@
9a4987
 [235] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [236] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [237] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[238] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[238] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [239] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [240] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [241] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h
9a4987
index 31341d4..20cae3c 100644
9a4987
--- a/linux/hppa/syscallent.h
9a4987
+++ b/linux/hppa/syscallent.h
9a4987
@@ -211,7 +211,7 @@
9a4987
 [205] = { 5,	0,		SEN(printargs),			"acl_set"		},
9a4987
 [206] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
 [207] = { 4,	TD,		SEN(readahead),			"readahead"		},
9a4987
-[208] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[208] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [209] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [210] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [211] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
9a4987
index efe0ff7..521e7ba 100644
9a4987
--- a/linux/i386/syscallent.h
9a4987
+++ b/linux/i386/syscallent.h
9a4987
@@ -244,7 +244,7 @@
9a4987
 [235] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [236] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [237] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[238] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[238] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [239] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [240] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [241] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
9a4987
index 8aeda41..c5088e1 100644
9a4987
--- a/linux/ia64/syscallent.h
9a4987
+++ b/linux/ia64/syscallent.h
9a4987
@@ -225,7 +225,7 @@
9a4987
 [BASE_NR + 202] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [BASE_NR + 203] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [BASE_NR + 204] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[BASE_NR + 205] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[BASE_NR + 205] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [BASE_NR + 206] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [BASE_NR + 207] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
 [BASE_NR + 208] = { 3,	0,		SEN(sched_getaffinity),		"sched_getaffinity"	},
9a4987
diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
9a4987
index 1876bed..107780c 100644
9a4987
--- a/linux/m68k/syscallent.h
9a4987
+++ b/linux/m68k/syscallent.h
9a4987
@@ -228,7 +228,7 @@
9a4987
 [218 ... 219] = { },
9a4987
 [220] = { 3,	TD,		SEN(getdents64),		"getdents64"		},
9a4987
 [221] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
-[222] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[222] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [223] = { 5,	TF,		SEN(setxattr),			"setxattr"		},
9a4987
 [224] = { 5,	TF,		SEN(setxattr),			"lsetxattr"		},
9a4987
 [225] = { 5,	TD,		SEN(fsetxattr),			"fsetxattr"		},
9a4987
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
9a4987
index 5d071bc..d830a3e 100644
9a4987
--- a/linux/microblaze/syscallent.h
9a4987
+++ b/linux/microblaze/syscallent.h
9a4987
@@ -244,7 +244,7 @@
9a4987
 [235] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [236] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [237] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[238] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[238] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [239] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [240] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [241] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
9a4987
index cfd199d..5ab0c53 100644
9a4987
--- a/linux/mips/syscallent-n32.h
9a4987
+++ b/linux/mips/syscallent-n32.h
9a4987
@@ -200,7 +200,7 @@
9a4987
 [BASE_NR + 189] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [BASE_NR + 190] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [BASE_NR + 191] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[BASE_NR + 192] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[BASE_NR + 192] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [BASE_NR + 193] = { 1,	TCL,		SEN(time),			"time"			},
9a4987
 [BASE_NR + 194] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [BASE_NR + 195] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
9a4987
index 7ef6700..1964872 100644
9a4987
--- a/linux/mips/syscallent-n64.h
9a4987
+++ b/linux/mips/syscallent-n64.h
9a4987
@@ -200,7 +200,7 @@
9a4987
 [BASE_NR + 189] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [BASE_NR + 190] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [BASE_NR + 191] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[BASE_NR + 192] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[BASE_NR + 192] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [BASE_NR + 193] = { 1,	TCL,		SEN(time),			"time"			},
9a4987
 [BASE_NR + 194] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [BASE_NR + 195] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
9a4987
index d2b26f7..eb8908e 100644
9a4987
--- a/linux/mips/syscallent-o32.h
9a4987
+++ b/linux/mips/syscallent-o32.h
9a4987
@@ -245,7 +245,7 @@
9a4987
 [BASE_NR + 233] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [BASE_NR + 234] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [BASE_NR + 235] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[BASE_NR + 236] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[BASE_NR + 236] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [BASE_NR + 237] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [BASE_NR + 238] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [BASE_NR + 239] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
9a4987
index b0962b4..7a77979 100644
9a4987
--- a/linux/powerpc/syscallent.h
9a4987
+++ b/linux/powerpc/syscallent.h
9a4987
@@ -215,7 +215,7 @@
9a4987
 [205] = { 3,	TM,		SEN(madvise),			"madvise"		},
9a4987
 [206] = { 3,	TM,		SEN(mincore),			"mincore"		},
9a4987
 [207] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
-[208] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[208] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [209] = { 5,	TF,		SEN(setxattr),			"setxattr"		},
9a4987
 [210] = { 5,	TF,		SEN(setxattr),			"lsetxattr"		},
9a4987
 [211] = { 5,	TD,		SEN(fsetxattr),			"fsetxattr"		},
9a4987
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h
9a4987
index 1a0dfb5..f20fd78 100644
9a4987
--- a/linux/powerpc64/syscallent.h
9a4987
+++ b/linux/powerpc64/syscallent.h
9a4987
@@ -210,7 +210,7 @@
9a4987
 [205] = { 3,	TM,		SEN(madvise),			"madvise"		},
9a4987
 [206] = { 3,	TM,		SEN(mincore),			"mincore"		},
9a4987
 [207] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
-[208] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[208] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [209] = { 5,	TF,		SEN(setxattr),			"setxattr"		},
9a4987
 [210] = { 5,	TF,		SEN(setxattr),			"lsetxattr"		},
9a4987
 [211] = { 5,	TD,		SEN(fsetxattr),			"fsetxattr"		},
9a4987
diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
9a4987
index 105089f..6844c7e 100644
9a4987
--- a/linux/s390/syscallent.h
9a4987
+++ b/linux/s390/syscallent.h
9a4987
@@ -246,7 +246,7 @@
9a4987
 [234] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [235] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
 [236] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
-[237] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[237] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [238] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [239] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
 [240] = { 3,	0,		SEN(sched_getaffinity),		"sched_getaffinity"	},
9a4987
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
9a4987
index e9cf57a..c805204 100644
9a4987
--- a/linux/s390x/syscallent.h
9a4987
+++ b/linux/s390x/syscallent.h
9a4987
@@ -230,7 +230,7 @@
9a4987
 [234] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [235] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
 [236] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
-[237] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[237] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [238] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [239] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
 [240] = { 3,	0,		SEN(sched_getaffinity),		"sched_getaffinity"	},
9a4987
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
9a4987
index 70dc7da..6a89f75 100644
9a4987
--- a/linux/sh/syscallent.h
9a4987
+++ b/linux/sh/syscallent.h
9a4987
@@ -245,7 +245,7 @@
9a4987
 [235] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [236] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [237] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[238] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[238] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [239] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [240] = { 6,	0,		SEN(futex_time32),		"futex"			},
9a4987
 [241] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
9a4987
index eff5dc0..4ec35d3 100644
9a4987
--- a/linux/sh64/syscallent.h
9a4987
+++ b/linux/sh64/syscallent.h
9a4987
@@ -271,7 +271,7 @@
9a4987
 [263] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [264] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [265] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[266] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[266] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [267] = { 4,	TD|TN,		SEN(sendfile64),		"sendfile64"		},
9a4987
 [268] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [269] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
9a4987
index 8c8bd18..a274791 100644
9a4987
--- a/linux/sparc/syscallent.h
9a4987
+++ b/linux/sparc/syscallent.h
9a4987
@@ -192,7 +192,7 @@
9a4987
 [184] = { 5,	0,		SEN(query_module),		"query_module"		},
9a4987
 [185] = { 2,	0,		SEN(setpgid),			"setpgid"		},
9a4987
 [186] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[187] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[187] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [188] = { 1,	TP|SE,		SEN(exit),			"exit_group"		},
9a4987
 [189] = { 1,	0,		SEN(uname),			"uname"			},
9a4987
 [190] = { 3,	0,		SEN(init_module),		"init_module"		},
9a4987
diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h
9a4987
index 0e0e0c4..61c32f9 100644
9a4987
--- a/linux/sparc64/syscallent.h
9a4987
+++ b/linux/sparc64/syscallent.h
9a4987
@@ -190,7 +190,7 @@
9a4987
 [184] = { 5,	0,		SEN(query_module),		"query_module"		},
9a4987
 [185] = { 2,	0,		SEN(setpgid),			"setpgid"		},
9a4987
 [186] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[187] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[187] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [188] = { 1,	TP|SE,		SEN(exit),			"exit_group"		},
9a4987
 [189] = { 1,	0,		SEN(uname),			"uname"			},
9a4987
 [190] = { 3,	0,		SEN(init_module),		"init_module"		},
9a4987
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
9a4987
index db8ecfd..d64060d 100644
9a4987
--- a/linux/x32/syscallent.h
9a4987
+++ b/linux/x32/syscallent.h
9a4987
@@ -205,7 +205,7 @@
9a4987
 [197] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [198] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [199] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[200] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[200] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [201] = { 1,	TCL,		SEN(time),			"time"			},
9a4987
 [202] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [203] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
9a4987
index c69a5aa..027093a 100644
9a4987
--- a/linux/x86_64/syscallent.h
9a4987
+++ b/linux/x86_64/syscallent.h
9a4987
@@ -205,7 +205,7 @@
9a4987
 [197] = { 2,	TF,		SEN(removexattr),		"removexattr"		},
9a4987
 [198] = { 2,	TF,		SEN(removexattr),		"lremovexattr"		},
9a4987
 [199] = { 2,	TD,		SEN(fremovexattr),		"fremovexattr"		},
9a4987
-[200] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[200] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [201] = { 1,	TCL,		SEN(time),			"time"			},
9a4987
 [202] = { 6,	0,		SEN(futex_time64),		"futex"			},
9a4987
 [203] = { 3,	0,		SEN(sched_setaffinity),		"sched_setaffinity"	},
9a4987
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
9a4987
index 61f1dd4..6de03d2 100644
9a4987
--- a/linux/xtensa/syscallent.h
9a4987
+++ b/linux/xtensa/syscallent.h
9a4987
@@ -124,7 +124,7 @@
9a4987
 [121] = { 4,	TP,		SEN(wait4),			"wait4"			},
9a4987
 [122] = { 5,	TP,		SEN(waitid),			"waitid"		},
9a4987
 [123] = { 2,	TS|TP,		SEN(kill),			"kill"			},
9a4987
-[124] = { 2,	TS|TP,		SEN(kill),			"tkill"			},
9a4987
+[124] = { 2,	TS|TP,		SEN(tkill),			"tkill"			},
9a4987
 [125] = { 3,	TS|TP,		SEN(tgkill),			"tgkill"		},
9a4987
 [126] = { 1,	0,		SEN(set_tid_address),		"set_tid_address"	},
9a4987
 [127] = { 0,	PU|NF,		SEN(gettid),			"gettid"		},
9a4987
diff --git a/signal.c b/signal.c
9a4987
index 3cb54bb..5f1acac 100644
9a4987
--- a/signal.c
9a4987
+++ b/signal.c
9a4987
@@ -446,6 +446,15 @@ SYS_FUNC(kill)
9a4987
 	return RVAL_DECODED;
9a4987
 }
9a4987
 
9a4987
+SYS_FUNC(tkill)
9a4987
+{
9a4987
+	tprintf("%d", (int) tcp->u_arg[0]);
9a4987
+	tprints(", ");
9a4987
+	printsignal(tcp->u_arg[1]);
9a4987
+
9a4987
+	return RVAL_DECODED;
9a4987
+}
9a4987
+
9a4987
 SYS_FUNC(tgkill)
9a4987
 {
9a4987
 	/* tgid, tid */
9a4987
-- 
9a4987
2.1.4
9a4987