projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc05595
)
selinux: remove secondary ops call to bprm_committing_creds
author
James Morris
<jmorris@namei.org>
Thu, 29 Jan 2009 00:46:14 +0000
(11:46 +1100)
committer
James Morris
<jmorris@namei.org>
Thu, 29 Jan 2009 21:55:02 +0000
(08:55 +1100)
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
patch
|
blob
|
blame
|
history
diff --git
a/security/selinux/hooks.c
b/security/selinux/hooks.c
index 8251c6ba36c9680badecd1c18de1825a33354e39..fc01ffa0b69cb93fe5d5789a8eac454adb99d65f 100644
(file)
--- 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;