diff options
author | James Morris <jmorris@namei.org> | 2009-01-28 19:47:49 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-01-29 16:55:03 -0500 |
commit | 5565b0b865f672e3d7e31936ad1d40710ab7bfc4 (patch) | |
tree | 85ad552370fc50fbbe5426e62e6c4f320f7d4461 | |
parent | 2ec5dbe23d68bddc043a85d1226bfc499a724b1c (diff) |
selinux: remove secondary ops call to bprm_committed_creds
Remove secondary ops call to bprm_committed_creds, 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>
-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 fc01ffa0b69c..516058ff0632 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -2356,8 +2356,6 @@ static void selinux_bprm_committed_creds(struct linux_binprm *bprm) | |||
2356 | int rc, i; | 2356 | int rc, i; |
2357 | unsigned long flags; | 2357 | unsigned long flags; |
2358 | 2358 | ||
2359 | secondary_ops->bprm_committed_creds(bprm); | ||
2360 | |||
2361 | osid = tsec->osid; | 2359 | osid = tsec->osid; |
2362 | sid = tsec->sid; | 2360 | sid = tsec->sid; |
2363 | 2361 | ||