函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_cred_transfer - Transfer the old credentials to the new credentials*@new: the new credentials*@old: the original credentials* Fill in a set of blank credentials from another set of credentials.

函数原型:static void smack_cred_transfer(struct cred *new, const struct cred *old)

返回类型:void

参数:

类型参数名称
struct cred *new
const struct cred *old
1971  old_tsp等于smack_cred(old)
1972  new_tsp等于smack_cred(new)
1974  label for access control 等于 label for access control
1975  label when forked 等于 label for access control
1976  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & lock for the rules )
1977  初始化链表头