diff options
| author | James Morris <[email protected]> | 2009-01-29 00:46:14 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-01-29 21:55:02 +0000 |
| commit | 2ec5dbe23d68bddc043a85d1226bfc499a724b1c (patch) | |
| tree | f0c87a4250b4531fe6c6cac2b1f9117292efcdc1 | |
| parent | selinux: remove unused bprm_check_security hook (diff) | |
| download | kernel-2ec5dbe23d68bddc043a85d1226bfc499a724b1c.tar.gz kernel-2ec5dbe23d68bddc043a85d1226bfc499a724b1c.zip | |
selinux: remove secondary ops call to bprm_committing_creds
Remove secondary ops call to bprm_committing_creds, 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]>
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 8251c6ba36c9..fc01ffa0b69c 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2311,8 +2311,6 @@ static void selinux_bprm_committing_creds(struct linux_binprm *bprm) struct rlimit *rlim, *initrlim; int rc, i; - secondary_ops->bprm_committing_creds(bprm); - new_tsec = bprm->cred->security; if (new_tsec->sid == new_tsec->osid) return; |
