Function report |
Source Code:security\integrity\ima\ima_fs.c |
Create Date:2022-07-28 19:57:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int ima_release_policy(struct inode *inode, struct file *file)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct file * | file |
411 | cause = If valid_policy Then "completed" Else "failed" |
416 | If valid_policy && ima_check_policy() < 0 Then |
417 | cause = "failed" |
418 | valid_policy = 0 |
422 | integrity_audit_msg(Integrity enable status , NULL, NULL, "policy_update", cause, !valid_policy, 0) |
425 | If Not valid_policy Then |
432 | ima_update_policy() |
435 | ima_policy = NULL |
441 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |