函数逻辑报告 |
Source Code:security\apparmor\policy_unpack.c |
Create Date:2022-07-27 21:35:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:verify_head - unpack serialized stream header*@e: serialized data read head (NOT NULL)*@required: whether the header is required or optional*@ns: Returns - namespace if one is specified else NULL (NOT NULL)* Returns: error or 0 if header is good
函数原型:static int verify_header(struct aa_ext *e, int required, const char **ns)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_ext * | e | |
int | required | |
const char ** | ns |
944 | error等于负EPROTONOSUPPORT |
945 | const char * name = NULL |
946 | * ns = NULL |
949 | 如果非unpack_u32(e, & version, "version")则 |
950 | 如果required则 |
961 | 如果VERSION_LT(version, ase version )或VERSION_GT(version, v7)则 |
964 | 返回:error |
968 | 如果unpack_str(e, & name, "namespace")则 |
984 | 返回:0 |
名称 | 描述 |
---|---|
aa_unpack | aa_unpack - unpack packed binary profile(s) data loaded from user space*@udata: user data copied to kmem (NOT NULL)*@lh: list to place unpacked profiles in a aa_repl_ws*@ns: Returns namespace profile is in if specified else NULL (NOT NULL)* Unpack user |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |