函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\user_defined.c Create Date:2022-07-27 19:59:07
Last Modify:2020-03-18 08:02:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pdate a user defined key* - the key's semaphore is write-locked

函数原型:int user_update(struct key *key, struct key_preparsed_payload *prep)

返回类型:int

参数:

类型参数名称
struct key *key
struct key_preparsed_payload *prep
103  struct user_key_payload * zap = NULL
107  ret等于key_payload_reserve - Adjust data quota reservation for the key's payload*@key: The key to make the reservation for
108  如果ret小于0则返回:ret
112  time at which key expires (or 0) 等于Expiry time of key
113  如果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.zap等于dereference_key_locked(key)
115  rcu_assign_keypointer(key, Raw data [0])
116  Raw data [0] = NULL
118  如果zapPost 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.
120  返回:ret