Commit 2ec5dbe2 authored by James Morris's avatar James Morris

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: default avatarSerge Hallyn <serue@us.ibm.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent bc055958
...@@ -2311,8 +2311,6 @@ static void selinux_bprm_committing_creds(struct linux_binprm *bprm) ...@@ -2311,8 +2311,6 @@ static void selinux_bprm_committing_creds(struct linux_binprm *bprm)
struct rlimit *rlim, *initrlim; struct rlimit *rlim, *initrlim;
int rc, i; int rc, i;
secondary_ops->bprm_committing_creds(bprm);
new_tsec = bprm->cred->security; new_tsec = bprm->cred->security;
if (new_tsec->sid == new_tsec->osid) if (new_tsec->sid == new_tsec->osid)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment