Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cred.c Create Date:2022-07-28 09:32:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__put_cred - Destroy a set of credentials*@cred: The record to release* Destroy a set of credentials on which no references remain.

Proto:void __put_cred(struct cred *cred)

Type:void

Parameter:

TypeParameterName
struct cred *cred
134  kdebug("__put_cred(%p{%d,%d})", cred, atomic_read( & usage), read_cred_subscribers(cred))
138  BUG_ON(atomic_read( & usage) != 0)
144  BUG_ON(cred == cred)
145  BUG_ON(cred == real_cred)
147  If Can we skip RCU deletion? Then The RCU callback to actually dispose of a set of credentials
149  Else Exported common interfaces
Caller
NameDescribe
put_credput_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