Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cred.c Create Date:2022-07-28 09:32:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int set_security_override(struct cred *new, unsigned int secid)

Type:int

Parameter:

TypeParameterName
struct cred *new
unsigned intsecid
742  Return security_kernel_act_as(new, secid)
Caller
NameDescribe
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