函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_kernel_act_as - Set the subjective context in a set of credentials*@new: points to the set of credentials to be modified.*@secid: specifies the security ID to be set* Set the security data for a kernel service.

函数原型:static int smack_kernel_act_as(struct cred *new, unsigned int secid)

返回类型:int

参数:

类型参数名称
struct cred *new
unsigned intsecid
2008  new_tsp等于smack_cred(new)
2010  label for access control 等于smack_from_secid(secid)
2011  返回:0