projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d9c25
)
KEYS: Fix default security_session_to_parent()
author
David Howells
<dhowells@redhat.com>
Mon, 7 Sep 2009 12:24:17 +0000
(13:24 +0100)
committer
James Morris
<jmorris@namei.org>
Mon, 7 Sep 2009 12:36:03 +0000
(22:36 +1000)
Fix the default security_session_to_parent() in linux/security.h to have a
body.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/security.h
b/include/linux/security.h
index f4eb32d5b8907303e068edf82166bef17a7148f2..10a09257952b76560a16970eb4c154c320072fe7 100644
(file)
--- a/
include/linux/security.h
+++ b/
include/linux/security.h
@@
-2988,7
+2988,10
@@
static inline int security_key_getsecurity(struct key *key, char **_buffer)
static inline int security_key_session_to_parent(const struct cred *cred,
const struct cred *parent_cred,
- struct key *key);
+ struct key *key)
+{
+ return 0;
+}
#endif
#endif /* CONFIG_KEYS */