Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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.
34  check = restrict_link_by_builtin_trusted
36  ima_blacklist_keyring = Allocate a keyring and link into the destination keyring.
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.
47  Atomically set a bit in memory
48  Return 0