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 <serue@us.ibm.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
bc05595845
commit
2ec5dbe23d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue