函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:46:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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
函数原型:static struct aa_label *__label_update(struct aa_label *label)
返回类型:struct aa_label
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label |
2026 | invcount等于0 |
2032 | 如果非new则返回:NULL |
2039 | ls等于labels_set(label) |
2040 | write_lock_irqsave( & lock, flags) |
2052 | 如果invcount则 |
2056 | 如果size恒等于1则 |
2061 | 如果labels_set(label)不等于labels_set(new)则 |
2062 | write_unlock_irqrestore( & lock, flags) |
2064 | write_lock_irqsave( & lock, flags) |
2065 | 转到:remove |
2071 | remove : |
2074 | write_unlock_irqrestore( & lock, flags) |
2075 | label_free_or_put_new(tmp, new) |
2077 | 返回:tmp |
名称 | 描述 |
---|---|
__labelset_update | __labelset_update - update labels in @ns*@ns: namespace to update labels in (NOT NULL)* Requires: @ns lock be held* Walk the labelset ensuring that all labels are up to date and valid* Any label that has a stale component is marked stale and replaced and |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |