Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_vec_find_or_create_label

Proto:struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, gfp_t gfp)

Type:struct aa_label

Parameter:

TypeParameterName
struct aa_profile **vec
intlen
gfp_tgfp
862  label = vec_find - find label @l in label set*@vec: array of profiles to find equiv label for (NOT NULL)*@n: length of @vec* Returns: refcounted label if @vec equiv is in tree* else NULL if @vec equiv is not in tree
864  If label Then Return label
867  Return quires sort and merge done first
Caller
NameDescribe
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