X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=security%2Fselinux%2Fhooks.c;h=1c864c0efe2b90592d0e86a49e7347ff8ad02829;hb=8a578111e343350ff8fa75fc3630d4bba5475cae;hp=85a220465a8ffa4d9ccf7225c9f2fd537164afd7;hpb=c15a2434ed4868cad99278ac4d4ae4de9de62e02;p=linux-2.6-omap-h63xx.git diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 85a220465a8..1c864c0efe2 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -3286,9 +3287,6 @@ static int selinux_task_kill(struct task_struct *p, struct siginfo *info, if (rc) return rc; - if (info != SEND_SIG_NOINFO && (is_si_special(info) || SI_FROMKERNEL(info))) - return 0; - if (!sig) perm = PROCESS__SIGNULL; /* null signal; existence test */ else