selinux: remove secondary ops call to bprm_committing_creds
authorJames Morris <jmorris@namei.org>
Thu, 29 Jan 2009 00:46:14 +0000 (11:46 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 29 Jan 2009 21:55:02 +0000 (08:55 +1100)
Remove secondary ops call to bprm_committing_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 8251c6ba36c9680badecd1c18de1825a33354e39..fc01ffa0b69cb93fe5d5789a8eac454adb99d65f 100644 (file)
@@ -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;