summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-01-29 12:32:50 +1100
committerJames Morris <jmorris@namei.org>2009-01-30 08:55:14 +1100
commit2cbbd19812b7636c1c37bcf50c403e7af5278d73 (patch)
treee12a8b56308adc047d77ed5e52b0c8a28304d80b /security
parentef76e748faa823a738d632ee4c8ed9adaabc8a40 (diff)
downloadop-kernel-dev-2cbbd19812b7636c1c37bcf50c403e7af5278d73.zip
op-kernel-dev-2cbbd19812b7636c1c37bcf50c403e7af5278d73.tar.gz
selinux: remove secondary ops call to task_kill
Remove secondary ops call to task_kill, which is a noop in capabilities. Acked-by: Serge Hallyn <serue@us.ibm.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 3aaa63c..0bd36a1 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3405,10 +3405,6 @@ static int selinux_task_kill(struct task_struct *p, struct siginfo *info,
u32 perm;
int rc;
- rc = secondary_ops->task_kill(p, info, sig, secid);
- if (rc)
- return rc;
-
if (!sig)
perm = PROCESS__SIGNULL; /* null signal; existence test */
else
OpenPOWER on IntegriCloud