函数逻辑报告 |
Source Code:security\apparmor\policy_unpack.c |
Create Date:2022-07-27 21:34:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:unpack_strdup
函数原型:static int unpack_strdup(struct aa_ext *e, char **string, const char *name)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_ext * | e | |
char ** | string | |
const char * | name |
420 | res等于unpack_str(e, & tmp, name) |
421 | * string = NULL |
423 | 如果非res则返回:0 |
426 | string等于kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
427 | 如果非string则 |
429 | 返回:0 |
432 | 返回:res |
名称 | 描述 |
---|---|
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_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 插件可实现:逻辑报告 代码生成和批量转换代码 |