函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sure stacks with components like* :ns:A//&B* have :ns: applied to both 'A' and 'B' by making the lookup relative* to the base if the lookup specifies an ns, else making the stacked lookup* relative to the last embedded ns in the string.

函数原型:static struct aa_profile *fqlookupn_profile(struct aa_label *base, struct aa_label *currentbase, const char *str, size_t n)

返回类型:struct aa_profile

参数:

类型参数名称
struct aa_label *base
struct aa_label *currentbase
const char *str
size_tn
1837  first等于skipn_spaces - Removes leading whitespace from @str.*@str: The string to be stripped.* Returns a pointer to the first non-whitespace character in @str.* if all whitespace will return NULL
1839  如果firstfirst恒等于':'则返回:aa_fqlookupn_profile(base, str, n)
1842  返回:aa_fqlookupn_profile(currentbase, str, n)
调用者
名称描述
aa_label_strn_parseaa_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