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_label_next_in_merge - find the next profile when merging @a and @b*@I: label iterator*@a: label to merge*@b: label to merge* Returns: next profile* else null if no more profiles

Proto:struct aa_profile *aa_label_next_in_merge(struct label_it *I, struct aa_label *a, struct aa_label *b)

Type:struct aa_profile

Parameter:

TypeParameterName
struct label_it *I
struct aa_label *a
struct aa_label *b
936  AA_BUG(!a)
937  AA_BUG(!b)
938  AA_BUG(!I)
939  AA_BUG(i < 0)
940  AA_BUG(i > size)
941  AA_BUG(j < 0)
942  AA_BUG(j > size)
944  If i < size Then
945  If j < size Then
948  If res > 0 Then Return vec[(j)++]
950  If res == 0 Then j++
954  Return vec[(i)++]
957  If j < size Then Return vec[(j)++]
960  Return NULL
Caller
NameDescribe
label_merge_cmplabel_merge_cmp - cmp of @a merging with @b against @z for set ordering*@a: label to merge then compare (NOT NULL)*@b: label to merge then compare (NOT NULL)*@z: label to compare merge against (NOT NULL)* Assumes: using the most recent versions of @a, @b,