aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-01-28 19:47:49 -0500
committerJames Morris <jmorris@namei.org>2009-01-29 16:55:03 -0500
commit5565b0b865f672e3d7e31936ad1d40710ab7bfc4 (patch)
tree85ad552370fc50fbbe5426e62e6c4f320f7d4461 /security/selinux/hooks.c
parent2ec5dbe23d68bddc043a85d1226bfc499a724b1c (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>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
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