函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cred.c Create Date:2022-07-27 10:33:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_security_override - Set the security ID in a set of credentials*@new: The credentials to alter*@secid: The LSM security ID to set* Set the LSM security ID in a set of credentials so that the subjective

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

返回类型:int

参数:

类型参数名称
struct cred *new
unsigned intsecid
742  返回:security_kernel_act_as(new, secid)
调用者
名称描述
set_security_override_from_ctxset_security_override_from_ctx - Set the security ID in a set of credentials*@new: The credentials to alter*@secctx: The LSM security context to generate the security ID from.* Set the LSM security ID in a set of credentials so that the subjective