函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:44:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__label_remove - remove @label from the label set*@l: label to remove*@new: label to redirect to* Requires: labels_set(@label)->lock write_lock* Returns: true if the label was in the tree and removed
函数原型:static bool __label_remove(struct aa_label *label, struct aa_label *new)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label | |
struct aa_label * | new |
565 | ls等于labels_set(label) |
569 | lockdep_assert_held_write( & lock) |
574 | 如果非label_is_stale(label)则__label_make_stale(label) |
577 | 如果flags按位与 label is in tree 则 |
583 | 返回:false |
名称 | 描述 |
---|---|
aa_label_remove | aa_label_remove - remove a label from the labelset*@label: label to remove* Returns: true if @label was removed from the tree* else @label was not in tree so it could not be removed |
aa_label_replace | aa_label_replace - replace a label @old with a new version @new*@old: label to replace*@new: label replacing @old* Returns: true if @old was in tree and replaced* else @old was not in tree, and @new was not inserted |
aa_labelset_destroy | aa_labelset_destroy - remove all labels from the label set*@ls: label set to cleanup (NOT NULL)* Labels that are removed from the set may still exist beyond the set* being destroyed depending on their reference counting |
__label_update | __label_update - insert updated version of @label into labelset*@label - the label to update/replace* Returns: new label that is up to date* else NULL on failure* Requires: @ns lock be held* Note: worst case is the stale @label does not get updated and has |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |