Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apparmor_secctx_to_secid

Proto:int apparmor_secctx_to_secid(const char *secdata, unsigned int seclen, unsigned int *secid)

Type:int

Parameter:

TypeParameterName
const char *secdata
unsigned intseclen
unsigned int *secid
102  label = aa_label_strn_parse - parse, validate and convert a text string to a label*@base: base label to use for lookups (NOT NULL)*@str: null terminated text string (NOT NULL)*@n: length of str to parse, will stop at \0 if encountered before n*@gfp: allocation
104  If IS_ERR(label) Then Return PTR_ERR(label)
106  secid = secid
108  Return 0