函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:44:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_label_alloc - allocate a label with a profile vector of @size length*@size: size of profile vector in the label*@proxy: proxy to use OR null if to allocate a new one*@gfp: memory allocation type* Returns: new label* else NULL if failed
函数原型:struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp)
返回类型:struct aa_label
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | size | |
| struct aa_proxy * | proxy | |
| gfp_t | gfp |
| 439 | 如果非aa_label_init(new, size, gfp)则转到:fail |
| 442 | 如果非proxy则 |
| 446 | 否则aa_get_proxy(proxy) |
| 451 | 返回:new |
| 453 | fail : |
| 454 | 释放内存 |
| 456 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| vec_create_and_insert_label | quires sort and merge done first |
| aa_label_merge | aa_label_merge - attempt to insert new merged label of @a and @b*@ls: set of labels to insert label into (NOT NULL)*@a: label to merge with @b (NOT NULL)*@b: label to merge with @a (NOT NULL)*@gfp: memory allocation type* Requires: caller to hold valid |
| __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 插件可实现:逻辑报告 代码生成和批量转换代码 |