函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:44:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_label_insert - insert label @label into @ls or return existing label*@ls - labelset to insert @label into*@label - label to insert* Requires: caller to hold a valid ref on @label* Returns: ref counted @label if successful in inserting @label* else ref
函数原型:struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *label)
返回类型:struct aa_label
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_labelset * | ls | |
| struct aa_label * | label |
| 907 | 如果非label_is_stale(label)则 |
| 908 | read_lock_irqsave( & lock, flags) |
| 910 | read_unlock_irqrestore( & lock, flags) |
| 915 | write_lock_irqsave( & lock, flags) |
| 917 | write_unlock_irqrestore( & lock, flags) |
| 919 | 返回:l |
| 名称 | 描述 |
|---|---|
| __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 插件可实现:逻辑报告 代码生成和批量转换代码 |