diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index e4f059cd986..15c6940ab04 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -536,7 +536,7 @@ static int check_kill_permission(int sig, struct siginfo *info, | |||
536 | return error; | 536 | return error; |
537 | error = -EPERM; | 537 | error = -EPERM; |
538 | if (((sig != SIGCONT) || | 538 | if (((sig != SIGCONT) || |
539 | (process_session(current) != process_session(t))) | 539 | (task_session_nr(current) != task_session_nr(t))) |
540 | && (current->euid ^ t->suid) && (current->euid ^ t->uid) | 540 | && (current->euid ^ t->suid) && (current->euid ^ t->uid) |
541 | && (current->uid ^ t->suid) && (current->uid ^ t->uid) | 541 | && (current->uid ^ t->suid) && (current->uid ^ t->uid) |
542 | && !capable(CAP_KILL)) | 542 | && !capable(CAP_KILL)) |