| Function report | 
| Source Code: security\integrity\ima\ima_policy.c | Create Date:2022-07-28 19:58:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:policy_setup
Proto:static int __init policy_setup(char *str)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | str | 
| 229 | If p == ' ' Then Continue | 
| 231 | If strcmp(p, "tcb") == 0 && Not ima_policy Then ima_policy = DEFAULT_TCB | 
| 233 | Else if strcmp(p, "appraise_tcb") == 0 Then ima_use_appraise_tcb = true | 
| 235 | Else if strcmp(p, "secure_boot") == 0 Then ima_use_secure_boot = true | 
| 237 | Else if strcmp(p, "fail_securely") == 0 Then ima_fail_unverifiable_sigs = true | 
| 241 | Return 1 | 
| 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 |