函数逻辑报告 |
Source Code:security\apparmor\policy_unpack.c |
Create Date:2022-07-27 21:34:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pack_nameX - check is the next element is of type X with a name of @name*@e: serialized data extent information (NOT NULL)*@code: type code*@name: name to match to the serialized element
函数原型:static bool unpack_nameX(struct aa_ext *e, enum aa_code code, const char *name)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_ext * | e | |
| enum aa_code | code | |
| const char * | name |
| 279 | 如果pack control byte 则 |
| 280 | char * tag = NULL |
| 285 | 否则如果name则 |
| 287 | 转到:fail |
| 291 | 如果pack control byte 则返回:1 |
| 294 | fail : |
| 296 | 返回:0 |
| 名称 | 描述 |
|---|---|
| unpack_u8 | |
| unpack_u32 | |
| unpack_u64 | |
| unpack_array | |
| unpack_blob | |
| unpack_str | |
| unpack_trans_table | pack_trans_table - unpack a profile transition table*@e: serialized data extent information (NOT NULL)*@profile: profile to add the accept table to (NOT NULL)* Returns: 1 if table successfully unpacked |
| unpack_xattrs | |
| unpack_secmark | |
| unpack_rlimits | |
| unpack_profile | pack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |