Skip to content

Commit

Permalink
KEYS: Fix default security_session_to_parent()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells authored and James Morris committed Sep 7, 2009
1 parent b6d9c25 commit be1d6a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/linux/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit be1d6a5

Please sign in to comment.