diff options
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index bf67871173ef..302e8d0839a9 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -526,6 +526,10 @@ int cap_task_kill(struct task_struct *p, struct siginfo *info, | |||
526 | if (info != SEND_SIG_NOINFO && (is_si_special(info) || SI_FROMKERNEL(info))) | 526 | if (info != SEND_SIG_NOINFO && (is_si_special(info) || SI_FROMKERNEL(info))) |
527 | return 0; | 527 | return 0; |
528 | 528 | ||
529 | /* sigcont is permitted within same session */ | ||
530 | if (sig == SIGCONT && (task_session_nr(current) == task_session_nr(p))) | ||
531 | return 0; | ||
532 | |||
529 | if (secid) | 533 | if (secid) |
530 | /* | 534 | /* |
531 | * Signal sent as a particular user. | 535 | * Signal sent as a particular user. |