函数逻辑报告 |
Source Code:security\integrity\ima\ima_fs.c |
Create Date:2022-07-27 21:57:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_release_policy - start using the new measure policy rules.* Initially, ima_measure points to the default policy rules, now* point to the new policy rules, and remove the securityfs policy file,* assuming a valid policy.
函数原型:static int ima_release_policy(struct inode *inode, struct file *file)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct file * | file |
411 | cause等于如果valid_policy则"completed"否则"failed" |
416 | 如果valid_policy且ima_check_policy()小于0则 |
417 | cause等于"failed" |
418 | valid_policy等于0 |
422 | integrity_audit_msg(Integrity enable status , NULL, NULL, "policy_update", cause, !valid_policy, 0) |
425 | 如果非valid_policy则 |
432 | ima_update_policy() |
435 | ima_policy = NULL |
441 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |