Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be1d6a5f authored by David Howells's avatar David Howells Committed by James Morris
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent b6d9c256
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 */