Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_secid_to_secctx - return the smack label for a secid*@secid: incoming integer*@secdata: destination*@seclen: how long it is* Exists for networking code.

Proto:static int smack_secid_to_secctx(unsigned int secid, char **secdata, unsigned int *seclen)

Type:int

Parameter:

TypeParameterName
unsigned intsecid
char **secdata
unsigned int *seclen
4455  skp = smack_from_secid(secid)
4457  If secdata Then secdata = smk_known
4459  seclen = strlen - Find the length of a string*@s: The string to be sized
4460  Return 0