函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-27 20:50:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smack_cred_free - "free" task-level security credentials*@cred: the credentials in question

函数原型:static void smack_cred_free(struct cred *cred)

返回类型:void

参数:

类型参数名称
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  删除链表项
1932  kmem_cache_free(smack_rule_cache, rp)