Skip to content

Commit

Permalink
selinux: remove secondary ops call to bprm_committing_creds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Morris committed Jan 29, 2009
1 parent bc05595 commit 2ec5dbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ec5dbe

Please sign in to comment.