Function report |
Source Code:security\integrity\ima\ima_mok.c |
Create Date:2022-07-28 19:59:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate the IMA blacklist keyring
Proto:__init int ima_mok_init(void)
Type:int
Parameter:Nothing
| 28 | pr_notice("Allocating IMA blacklist keyring.\n") |
| 30 | restriction = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 31 | If Not restriction Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 44 | If IS_ERR(ima_blacklist_keyring) Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 48 | 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 |