函数逻辑报告 |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-27 21:33:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_may_manage_policy - can the current task manage policy*@label: label to check if it can manage policy*@op: the policy manipulation operation being done* Returns: 0 if the task is allowed to manipulate policy else error
函数原型:int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, unsigned int mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label | |
struct aa_ns * | ns | |
unsigned int | mask |
684 | 如果mask按位与AA_MAY_REMOVE_POLICY则op等于OP_PROF_RM |
686 | 否则如果mask按位与AA_MAY_REPLACE_POLICY则op等于OP_PROF_REPL |
688 | 否则op等于OP_PROF_LOAD |
701 | 返回:0 |
名称 | 描述 |
---|---|
profile_remove | .remove file hook fn to remove loaded policy |
ns_mkdir_op | |
ns_rmdir_op |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |