aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index d809cdd6c0f1..783b33a0af06 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2237,7 +2237,7 @@ static int do_tkill(int tgid, int pid, int sig)
2237 info.si_uid = current->uid; 2237 info.si_uid = current->uid;
2238 2238
2239 read_lock(&tasklist_lock); 2239 read_lock(&tasklist_lock);
2240 p = find_task_by_pid_ns(pid, current->nsproxy->pid_ns); 2240 p = find_task_by_vpid(pid);
2241 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { 2241 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) {
2242 error = check_kill_permission(sig, &info, p); 2242 error = check_kill_permission(sig, &info, p);
2243 /* 2243 /*