Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-28 19:21:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

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

Type:int

Parameter:

TypeParameterName
struct cred *new
unsigned intsecid
2008  new_tsp = smack_cred(new)
2010  label for access control = smack_from_secid(secid)
2011  Return 0