selinux: remove secondary ops call to bprm_committed_creds
authorJames Morris <jmorris@namei.org>
Thu, 29 Jan 2009 00:47:49 +0000 (11:47 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 29 Jan 2009 21:55:03 +0000 (08:55 +1100)
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>
security/selinux/hooks.c

index fc01ffa0b69cb93fe5d5789a8eac454adb99d65f..516058ff06320952615cf366c2b7747c93cc3685 100644 (file)
@@ -2356,8 +2356,6 @@ static void selinux_bprm_committed_creds(struct linux_binprm *bprm)
        int rc, i;
        unsigned long flags;
 
-       secondary_ops->bprm_committed_creds(bprm);
-
        osid = tsec->osid;
        sid = tsec->sid;