summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/security.h5
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)
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 */
OpenPOWER on IntegriCloud