Thread (4 messages) 4 messages, 2 authors, 2019-03-26

Re: [PATCH] KEYS: trusted: allow trusted.ko to initialize w/o a TPM

From: Jarkko Sakkinen <hidden>
Date: 2019-03-26 11:52:57
Also in: keyrings, linux-integrity, lkml, stable

On Mon, Mar 25, 2019 at 04:47:35PM +0200, Jarkko Sakkinen wrote:
Allow trusted.ko to initialize w/o a TPM. This commit adds checks to the
key type callbacks and exported functions to fail when a TPM is not
available.

Cc: Dan Williams <redacted>
Cc: stable@vger.kernel.org
Fixes: 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure...")
Signed-off-by: Jarkko Sakkinen <redacted>
Will send a revised version: since now the key type is not registered,
none of the callbacks needs the check for the chip instance. Only the
exported functions should have it.

/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