diff options
author | James Morris <jmorris@namei.org> | 2009-01-28 20:32:50 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-01-29 16:55:14 -0500 |
commit | 2cbbd19812b7636c1c37bcf50c403e7af5278d73 (patch) | |
tree | e12a8b56308adc047d77ed5e52b0c8a28304d80b /security/selinux | |
parent | ef76e748faa823a738d632ee4c8ed9adaabc8a40 (diff) |
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/selinux')
-rw-r--r-- | security/selinux/hooks.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 3aaa63cc5c74..0bd36a17587c 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, | |||
3405 | u32 perm; | 3405 | u32 perm; |
3406 | int rc; | 3406 | int rc; |
3407 | 3407 | ||
3408 | rc = secondary_ops->task_kill(p, info, sig, secid); | ||
3409 | if (rc) | ||
3410 | return rc; | ||
3411 | |||
3412 | if (!sig) | 3408 | if (!sig) |
3413 | perm = PROCESS__SIGNULL; /* null signal; existence test */ | 3409 | perm = PROCESS__SIGNULL; /* null signal; existence test */ |
3414 | else | 3410 | else |