From: James Morris Date: Thu, 29 Jan 2009 00:47:49 +0000 (+1100) Subject: selinux: remove secondary ops call to bprm_committed_creds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5565b0b865f672e3d7e31936ad1d40710ab7bfc4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Eric Paris Signed-off-by: James Morris --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index fc01ffa0b69c..516058ff0632 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2356,8 +2356,6 @@ static void selinux_bprm_committed_creds(struct linux_binprm *bprm) int rc, i; unsigned long flags; - secondary_ops->bprm_committed_creds(bprm); - osid = tsec->osid; sid = tsec->sid;