diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | 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 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) | |||
2311 | struct rlimit *rlim, *initrlim; | 2311 | struct rlimit *rlim, *initrlim; |
2312 | int rc, i; | 2312 | int rc, i; |
2313 | 2313 | ||
2314 | secondary_ops->bprm_committing_creds(bprm); | ||
2315 | |||
2316 | new_tsec = bprm->cred->security; | 2314 | new_tsec = bprm->cred->security; |
2317 | if (new_tsec->sid == new_tsec->osid) | 2315 | if (new_tsec->sid == new_tsec->osid) |
2318 | return; | 2316 | return; |