Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-28 19:21:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smack_cred_free - "free" task-level security credentials*@cred: the credentials in question

Proto:static void smack_cred_free(struct cred *cred)

Type:void

Parameter:

TypeParameterName
struct cred *cred
1922  tsp = smack_cred(cred)
1927  smk_destroy_label_list( & transit allowed labels )
1930  rp = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(l, structsmack_rule, list)
1931  deletes entry from list
1932  kmem_cache_free(smack_rule_cache, rp)