函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:43:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:profile_cmp - profile comparison for set ordering*@a: profile to compare (NOT NULL)*@b: profile to compare (NOT NULL)* Returns: <0 if a < b* ==0 if a == b* >0 if a > b
函数原型:static int profile_cmp(struct aa_profile *a, struct aa_profile *b)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_profile * | a | |
struct aa_profile * | b |
148 | res等于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 |
152 | 返回:字符串比较 |
名称 | 描述 |
---|---|
vec_cmp | vec_cmp - label comparison for set ordering*@a: label to compare (NOT NULL)*@vec: vector of profiles to compare (NOT NULL)*@n: length of @vec* Returns: <0 if a < vec* ==0 if a == vec* >0 if a > vec |
sort_cmp | |
unique | assumes vec is sorted* Assumes @vec has null terminator at vec[n], and will null terminate* vec[n - dups] |
aa_vec_unique | aa_vec_unique - canonical sort and unique a list of profiles*@n: number of refcounted profiles in the list (@n > 0)*@vec: list of profiles to sort and merge* Returns: the number of duplicates eliminated == references put* If @flags & VEC_FLAG_TERMINATE |
__aa_label_next_not_in_set | aa_label_next_not_in_set - return the next profile of @sub not in @set*@I: label iterator*@set: label to test against*@sub: label to if is subset of @set* Returns: profile in @sub that is not in @set, with iterator set pos after* else NULL if @sub is a |
aa_label_next_in_merge | 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 |
label_merge_cmp | label_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, |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |