Thread (6 messages) flat view 6 messages, 2 authors, 2021-12-29

Re: [PATCH v6 1/3] certs: export load_certificate_list() to be used outside certs/

From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2021-12-29 01:29:56
Also in: keyrings, linux-security-module, lkml

On Wed, Dec 22, 2021 at 08:39:17PM -0500, Nayna Jain wrote:
load_certificate_list() parses certificates embedded in the kernel
image to load them onto the keyring.

Commit "2565ca7f5ec1 (certs: Move load_system_certificate_list to a common
function)" made load_certificate_list() a common function in the certs/
directory. Now, export load_certificate_list() outside certs/ to be used
by other functions.
It is exported to make callable by load_platform_certificate_list(). Making
anything callable by other functions by itself has no inherit value, and
does not serve as a stimulus to make such code change.

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help