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:__label_find - find label @label in label set*@label: label to find (NOT NULL)* Requires: labels_set(@label)->lock held* caller to hold a valid ref on l* Returns: ref counted @label if @label is in tree OR* ref counted label that is equiv to @label in

Proto:static struct aa_label *__label_find(struct aa_label *label)

Type:struct aa_label

Parameter:

TypeParameterName
struct aa_label *label
729  AA_BUG(!label)
731  Return __vec_find - find label that matches @vec in label set*@vec: vec of profiles to find matching label for (NOT NULL)*@n: length of @vec* Requires: @vec_labelset(vec) lock held* caller to hold a valid ref on l* Returns: ref counted @label if matching label
Caller
NameDescribe
aa_label_insertaa_label_insert - insert label @label into @ls or return existing label*@ls - labelset to insert @label into*@label - label to insert* Requires: caller to hold a valid ref on @label* Returns: ref counted @label if successful in inserting @label* else ref
__label_find_merge__label_find_merge - find label that is equiv to merge of @a and @b*@ls: set of labels to search (NOT NULL)*@a: label to merge with @b (NOT NULL)*@b: label to merge with @a (NOT NULL)* Requires: ls->lock read_lock held* Returns: ref counted label that is