函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\key.h Create Date:2022-07-27 06:42:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:key_read_state

函数原型:static inline short key_read_state(const struct key *key)

返回类型:short

参数:

类型参数名称
const struct key *key
437  返回:smp_load_acquire( & Key state (+) or rejection error (-) )
调用者
名称描述
keyctl_read_keyRead a key's payload
lookup_user_keyLook up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip
wait_for_key_constructionwait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for
proc_keys_show
key_is_positivekey_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.
key_is_negative