X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fkeys%2Fuser-type.h;h=bc9ec1d7698cd730df2ef58c4a3ee58f1c067568;hb=694ce18ec3485f5b0a4f3820073f5e2b0b4e0870;hp=c37c34275a449626b31bd02731fa3fa649bfef70;hpb=4d3ce21fa9d2eaeda113aa2f9c2da80d972bef64;p=firefly-linux-kernel-4.4.55.git diff --git a/include/keys/user-type.h b/include/keys/user-type.h index c37c34275a44..bc9ec1d7698c 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,6 +33,7 @@ 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);