函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cred.c Create Date:2022-07-27 10:32:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:The RCU callback to actually dispose of a set of credentials

函数原型:static void put_cred_rcu(struct callback_head *rcu)

返回类型:void

参数:

类型参数名称
struct callback_head *rcu
95  cred等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(rcu, structcred, rcu)
97  kdebug("put_cred_rcu(%p)", cred)
109  如果atomic_read( & usage)不等于0则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
114  security_cred_free(cred)
115  key_put( keyring inherited over fork )
116  key_put( keyring private to this process )
117  key_put( keyring private to this thread )
118  key_put( assumed request_key authority )
119  如果组补充信息put_group_info - Release a reference to a group info structure*@group_info: The group info to release(组补充信息)
121  free_uid(真实用户身份)
122  put_user_ns( user_ns the caps and keyrings are relative to. )
123  释放一个对象
调用者
名称描述
__put_cred__put_cred - Destroy a set of credentials*@cred: The record to release* Destroy a set of credentials on which no references remain.