[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-keyrings
Subject: Re: [PATCH v8 22/22] tpm: disable the TPM if NULL name changes
From: "Jarkko Sakkinen" <jarkko () kernel ! org>
Date: 2024-04-29 23:34:36
Message-ID: D0X00LTUCCC8.X8LKLJHZZRGP () kernel ! org
[Download RAW message or body]
On Mon Apr 29, 2024 at 11:28 PM EEST, James Bottomley wrote:
> + if (chip->flags & TPM_CHIP_FLAG_DISABLE)
> + return rc;
> +
s/DISABLE/ACCESS_DENIED/ as it is more to the point.
Further, tpm_open() should fail right off the bat after ending up to
this situation.
BR, Jarkko
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic