diff options
Diffstat (limited to 'security/smack')
-rw-r--r-- | security/smack/smack_lsm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index fe0ae1bf165..b5c8f923700 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -1131,15 +1131,6 @@ static int smack_task_kill(struct task_struct *p, struct siginfo *info, | |||
1131 | int sig, u32 secid) | 1131 | int sig, u32 secid) |
1132 | { | 1132 | { |
1133 | /* | 1133 | /* |
1134 | * Special cases where signals really ought to go through | ||
1135 | * in spite of policy. Stephen Smalley suggests it may | ||
1136 | * make sense to change the caller so that it doesn't | ||
1137 | * bother with the LSM hook in these cases. | ||
1138 | */ | ||
1139 | if (info != SEND_SIG_NOINFO && | ||
1140 | (is_si_special(info) || SI_FROMKERNEL(info))) | ||
1141 | return 0; | ||
1142 | /* | ||
1143 | * Sending a signal requires that the sender | 1134 | * Sending a signal requires that the sender |
1144 | * can write the receiver. | 1135 | * can write the receiver. |
1145 | */ | 1136 | */ |