]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Apr 2020 18:47:57 +0000 (13:47 -0500)
commit85623834e58a23492556ca952b9f4542baa54cc8
tree05272bc31aea2ab2dd91f6323cd12a0046db62b8
parent8f9d70aa0e9c26f00c1728eb14dfc74ec7320187
x86/efi: move common keyring handler functions to new file

BugLink: https://bugs.launchpad.net/bugs/1866909
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
(cherry picked from commit ad723674d6758478829ee766e3f1a2a24d56236f)
Signed-off-by: Seth Forshee <seth.forshee@canonical.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