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:labelset_of_merge - find which labelset a merged label should be inserted*@a: label to merge and insert*@b: label to merge and insert* Returns: labelset that the merged label should be inserted into

Proto:static struct aa_labelset *labelset_of_merge(struct aa_label *a, struct aa_label *b)

Type:struct aa_labelset

Parameter:

TypeParameterName
struct aa_label *a
struct aa_label *b
1093  nsa = labels_ns(a)
1094  nsb = labels_ns(b)
1096  If s_cmp - compare ns for label set ordering*@a: ns to compare (NOT NULL)*@b: ns to compare (NOT NULL)* Returns: <0 if a < b* ==0 if a == b* >0 if a > b <= 0 Then Return labels
1098  Return labels
Caller
NameDescribe
aa_label_find_mergeaa_label_find_merge - find label that is equiv to merge of @a and @b*@a: label to merge with @b (NOT NULL)*@b: label to merge with @a (NOT NULL)* Requires: labels be fully constructed with a valid ns* Returns: ref counted label that is equiv to merge of