selinux: remove secondary ops call to bprm_committing_creds

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 11:59 am

Gitweb:     http://git.kernel.org/linus/2ec5dbe23d68bddc043a85d1226bfc499a724b1c
Commit:     2ec5dbe23d68bddc043a85d1226bfc499a724b1c
Parent:     bc05595845f58c065adc0763a678187647ec040f
Author:     James Morris <jmorris@namei.org>
AuthorDate: Thu Jan 29 11:46:14 2009 +1100
Committer:  James Morris <jmorris@namei.org>
CommitDate: Fri Jan 30 08:55:02 2009 +1100

    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 <serue@us.ibm.com>
    Acked-by: Eric Paris <eparis@redhat.com>
    Signed-off-by: James Morris <jmorris@namei.org>
---
 security/selinux/hooks.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 8251c6b..fc01ffa 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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
selinux: remove secondary ops call to bprm_committing_creds, Linux Kernel Mailing ..., (Thu Mar 26, 11:59 am)