diff options
| author | James Morris <[email protected]> | 2009-01-29 01:32:50 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-01-29 21:55:14 +0000 |
| commit | 2cbbd19812b7636c1c37bcf50c403e7af5278d73 (patch) | |
| tree | e12a8b56308adc047d77ed5e52b0c8a28304d80b /security/selinux/hooks.c | |
| parent | selinux: remove secondary ops call to task_setrlimit (diff) | |
| download | kernel-2cbbd19812b7636c1c37bcf50c403e7af5278d73.tar.gz kernel-2cbbd19812b7636c1c37bcf50c403e7af5278d73.zip | |
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 <[email protected]>
Acked-by: Eric Paris <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -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, 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 |
