Function report | 
Source Code:security\integrity\ima\ima_template.c | 
Create Date:2022-07-28 19:59:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ima_template_setup
Proto:static int __init ima_template_setup(char *str)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | str | 
| 85 | If ima_template Then Return 1 | 
| 95 | If Not template_desc Then | 
| 96 | pr_err("template %s not found, using %s\n", str, CONFIG_IMA_DEFAULT_TEMPLATE) | 
| 98 | Return 1 | 
| 105 | If template_len == 3 && strcmp(str, IMA_TEMPLATE_IMA_NAME) == 0 && ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5 Then | 
| 107 | pr_err("template does not support hash alg\n") | 
| 108 | Return 1 | 
| 111 | ima_template = template_desc | 
| 112 | 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  |