函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\secid.c Create Date:2022-07-27 21:41:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apparmor_secctx_to_secid

函数原型:int apparmor_secctx_to_secid(const char *secdata, unsigned int seclen, unsigned int *secid)

返回类型:int

参数:

类型参数名称
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  如果是错误则返回:错误
106  secid等于secid
108  返回:0