projects
/
GitHub
/
LineageOS
/
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:
4d49f67
)
capabilities: initialize has_cap
author
Serge Hallyn
<serge.hallyn@canonical.com>
Mon, 15 Aug 2011 13:29:50 +0000
(08:29 -0500)
committer
James Morris
<jmorris@namei.org>
Mon, 15 Aug 2011 23:20:45 +0000
(09:20 +1000)
Initialize has_cap in cap_bprm_set_creds()
Reported-by: Andrew G. Morgan <morgan@kernel.org>
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/commoncap.c
patch
|
blob
|
blame
|
history
diff --git
a/security/commoncap.c
b/security/commoncap.c
index 0f620c564fa876ce114739e5051b2ddb429c41d3..ee4f8486e5f563dff63c13278a1258e43e2b7859 100644
(file)
--- a/
security/commoncap.c
+++ b/
security/commoncap.c
@@
-479,7
+479,7
@@
int cap_bprm_set_creds(struct linux_binprm *bprm)
{
const struct cred *old = current_cred();
struct cred *new = bprm->cred;
- bool effective, has_cap;
+ bool effective, has_cap
= false
;
int ret;
effective = false;