From: David Howells Date: Mon, 7 Sep 2009 12:24:17 +0000 (+0100) Subject: KEYS: Fix default security_session_to_parent() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=be1d6a5f55b30042c57bdfbe7cb4761ed081def0;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: James Morris --- 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 */