]> err.no Git - linux-2.6/blobdiff - security/smack/smack_lsm.c
[POWERPC] Update defconfigs for desktop/server systems
[linux-2.6] / security / smack / smack_lsm.c
index fe0ae1bf165069bb8e0e9ea6b485a33558d5dfc7..b5c8f9237008618630d95cdf58ba945b06fe94d0 100644 (file)
@@ -1130,15 +1130,6 @@ static int smack_task_movememory(struct task_struct *p)
 static int smack_task_kill(struct task_struct *p, struct siginfo *info,
                           int sig, u32 secid)
 {
-       /*
-        * Special cases where signals really ought to go through
-        * in spite of policy. Stephen Smalley suggests it may
-        * make sense to change the caller so that it doesn't
-        * bother with the LSM hook in these cases.
-        */
-       if (info != SEND_SIG_NOINFO &&
-           (is_si_special(info) || SI_FROMKERNEL(info)))
-               return 0;
        /*
         * Sending a signal requires that the sender
         * can write the receiver.