Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\key.h Create Date:2022-07-28 05:40:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:key_is_positive - Determine if a key has been positively instantiated*@key: The key to check.* Return true if the specified key has been positively instantiated, false* otherwise.

Proto:static inline bool key_is_positive(const struct key *key)

Type:bool

Parameter:

TypeParameterName
const struct key *key
449  Return key_read_state(key) == Positively instantiated
Caller
NameDescribe
keyring_describe
request_key_auth_describeDescribe an authorisation token.
user_updatepdate a user defined key* - the key's semaphore is write-locked
user_describedescribe the user key
big_key_revokedispose of the links from a revoked keyring* - called with the key sem write-locked
big_key_describedescribe the big_key key
fscrypt_key_describe