Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\user_defined.c Create Date:2022-07-28 18:24:42
Last Modify:2020-03-18 08:02:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dispose of the links from a revoked keyring* - called with the key sem write-locked

Proto:void user_revoke(struct key *key)

Type:void

Parameter:

TypeParameterName
struct key *key
130  upayload = user_key_payload_locked(key)
133  key_payload_reserve - Adjust data quota reservation for the key's payload*@key: The key to make the reservation for
135  If upayload Then
136  rcu_assign_keypointer(key, NULL)
137  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.