From: James Morris Date: Thu, 29 Jan 2009 00:46:14 +0000 (+1100) Subject: selinux: remove secondary ops call to bprm_committing_creds X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ec5dbe23d68bddc043a85d1226bfc499a724b1c;p=linux-beck.git 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 Acked-by: Eric Paris Signed-off-by: James Morris --- diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 8251c6ba36c9..fc01ffa0b69c 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -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;