Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\request_key_auth.c Create Date:2022-07-28 18:24:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:free_request_key_auth

Proto:static void free_request_key_auth(struct request_key_auth *rka)

Type:void

Parameter:

TypeParameterName
struct request_key_auth *rka
109  If Not rka Then Return
111  key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process
112  key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process
113  If cred Then put_cred - Release a reference to a set of credentials*@cred: The credentials to release* Release a reference to a set of credentials, deleting them when the last ref* is released
115  kfree(callout_info)
116  kfree(rka)
Caller
NameDescribe
request_key_auth_rcu_disposalDispose of the request_key_auth record under RCU conditions
request_key_auth_newCreate an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data.