ima: generalize x86/EFI arch glue for other EFI architectures
authorChester Lin <clin@suse.com>
Fri, 30 Oct 2020 06:08:39 +0000 (14:08 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 6 Nov 2020 06:40:42 +0000 (07:40 +0100)
commit25519d68344269f9dc58b5bc72f648248a1fafb9
tree5f9d38288d1673da27a741a2974fd00d35bf5886
parente1ac4b2406d94eddce8ac2c5ab4235f6075a9602
ima: generalize x86/EFI arch glue for other EFI architectures

Move the x86 IMA arch code into security/integrity/ima/ima_efi.c,
so that we will be able to wire it up for arm64 in a future patch.

Co-developed-by: Chester Lin <clin@suse.com>
Signed-off-by: Chester Lin <clin@suse.com>
Acked-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
arch/x86/kernel/Makefile
security/integrity/ima/Makefile
security/integrity/ima/ima_efi.c [moved from arch/x86/kernel/ima_arch.c with 60% similarity]