]> git.baikalelectronics.ru Git - kernel.git/commit
x86/efi: move common keyring handler functions to new file
authorNayna Jain <nayna@linux.ibm.com>
Mon, 11 Nov 2019 03:10:35 +0000 (21:10 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Nov 2019 13:33:23 +0000 (00:33 +1100)
commit4d78ca3c31b75a7ff4106d1f3a53251b81619429
tree2928474fa444f60fa933d1902ac3b358f4bc6f3f
parent11fbc32d0a1038b622d7498a1c5a2c294633fe19
x86/efi: move common keyring handler functions to new file

The handlers to add the keys to the .platform keyring and blacklisted
hashes to the .blacklist keyring is common for both the uefi and powerpc
mechanisms of loading the keys/hashes from the firmware.

This patch moves the common code from load_uefi.c to keyring_handler.c

Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Acked-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Eric Richter <erichte@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1573441836-3632-4-git-send-email-nayna@linux.ibm.com
security/integrity/Makefile
security/integrity/platform_certs/keyring_handler.c [new file with mode: 0644]
security/integrity/platform_certs/keyring_handler.h [new file with mode: 0644]
security/integrity/platform_certs/load_uefi.c