函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:struct aa_profile *aa_label_next_in_merge(struct label_it *I, struct aa_label *a, struct aa_label *b)

返回类型:struct aa_profile

参数:

类型参数名称
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  如果i小于size
945  如果j小于size
948  如果res大于0则返回:vec[(j)++]
950  如果res恒等于0则j自加
954  返回:vec[(i)++]
957  如果j小于size则返回:vec[(j)++]
960  返回:NULL
调用者
名称描述
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,