diff options
Diffstat (limited to 'include/keys/user-type.h')
| -rw-r--r-- | include/keys/user-type.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/keys/user-type.h b/include/keys/user-type.h index c37c34275a4..5e452c84f1e 100644 --- a/include/keys/user-type.h +++ b/include/keys/user-type.h @@ -17,7 +17,7 @@ /*****************************************************************************/ /* - * the payload for a key of type "user" + * the payload for a key of type "user" or "logon" * - once filled in and attached to a key: * - the payload struct is invariant may not be changed, only replaced * - the payload must be read with RCU procedures or with the key semaphore @@ -33,9 +33,12 @@ struct user_key_payload { }; extern struct key_type key_type_user; +extern struct key_type key_type_logon; -extern int user_instantiate(struct key *key, const void *data, size_t datalen); -extern int user_update(struct key *key, const void *data, size_t datalen); +struct key_preparsed_payload; + +extern int user_instantiate(struct key *key, struct key_preparsed_payload *prep); +extern int user_update(struct key *key, struct key_preparsed_payload *prep); extern int user_match(const struct key *key, const void *criterion); extern void user_revoke(struct key *key); extern void user_destroy(struct key *key); |
