Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;