diff options
author | David Howells <dhowells@redhat.com> | 2009-09-07 08:24:17 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-09-07 08:36:03 -0400 |
commit | be1d6a5f55b30042c57bdfbe7cb4761ed081def0 (patch) | |
tree | d35174819b852d4d212db79ef0ecb50d8919ceb3 | |
parent | b6d9c25631e7c38dc7be220b04553068fb542683 (diff) |
KEYS: Fix default security_session_to_parent()
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>
-rw-r--r-- | include/linux/security.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index f4eb32d5b890..10a09257952b 100644 --- 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) | |||
2988 | 2988 | ||
2989 | static inline int security_key_session_to_parent(const struct cred *cred, | 2989 | static inline int security_key_session_to_parent(const struct cred *cred, |
2990 | const struct cred *parent_cred, | 2990 | const struct cred *parent_cred, |
2991 | struct key *key); | 2991 | struct key *key) |
2992 | { | ||
2993 | return 0; | ||
2994 | } | ||
2992 | 2995 | ||
2993 | #endif | 2996 | #endif |
2994 | #endif /* CONFIG_KEYS */ | 2997 | #endif /* CONFIG_KEYS */ |