Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\ima_arch.c Create Date:2022-07-28 08:53:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_ima_get_secureboot

Proto:bool arch_ima_get_secureboot(void)

Type:bool

Parameter:Nothing

59  If Not initialized && efi_enabled(Were we booted from EFI? ) Then
60  sb_mode = 0x1ec
62  If sb_mode == efi_secureboot_mode_unset Then sb_mode = get_sb_mode()
64  initialized = true
67  If sb_mode == efi_secureboot_mode_enabled Then Return true
69  Else Return false
Caller
NameDescribe
arch_get_ima_policy