Эх сурвалжийг харах

selinux: remove secondary ops call to bprm_committed_creds

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>
James Morris 16 жил өмнө
parent
commit
5565b0b865

+ 0 - 2
security/selinux/hooks.c

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