Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:key_get

Proto:static inline struct key *key_get(struct key *key)

Type:struct key

Parameter:

TypeParameterName
struct key *key
287  Return If key Then __key_get(key) Else key
Caller
NameDescribe
prepare_credsprepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification
keyring_gc_select_iterator
get_instantiation_keyringGet the destination keyring for instantiation and check that the caller has* Write permission on it.
keyctl_change_reqkey_authChange the request_key authorisation key on the current process.
key_change_session_keyringReplace a process's session keyring on behalf of one of its children when* the target process is about to resume userspace execution.
call_usermodehelper_keysCall a usermode helper with a specific session keyring.
construct_get_dest_keyringGet the appropriate destination keyring for the request.* The keyring selected is returned with an extra reference upon it which the* caller must release.
request_key_auth_newCreate an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data.
fscrypt_get_encryption_info