dect
/
linux-2.6
Archived
13
0
Fork 0

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 <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
David Howells 2009-09-07 13:24:17 +01:00 committed by James Morris
parent b6d9c25631
commit be1d6a5f55
1 changed files with 4 additions and 1 deletions

View File

@ -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 */