函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:45:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_update_label_name - update a label to have a stored name*@ns: ns being viewed from (NOT NULL)*@label: label to update (NOT NULL)*@gfp: type of memory allocation* Requires: labels_set(label) not locked in caller* note: only updates the label name if it
函数原型:bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_ns * | ns | |
| struct aa_label * | label | |
| gfp_t | gfp |
| 1420 | atm just a notation 乘name |
| 1421 | bool res = false |
| 1429 | 如果aa_label_acntsxprint - allocate a __counted string buffer and print label*@strp: buffer to write to恒等于负1则返回:res |
| 1432 | ls等于labels_set(label) |
| 1433 | write_lock_irqsave( & lock, flags) |
| 1434 | 如果非hname且flags按位与 label is in tree 则 |
| 1437 | 否则aa_put_str(name) |
| 1439 | write_unlock_irqrestore( & lock, flags) |
| 1441 | 返回:res |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |