提交 be1d6a5f 编写于 作者: D David Howells 提交者: James Morris

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: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 b6d9c256
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册