[PATCH v11 18/20] tpm: Add sysfs interface to allow setting and querying the default locality
Jarkko Sakkinen
jarkko at kernel.org
Fri Nov 1 14:50:05 PDT 2024
On Fri Nov 1, 2024 at 12:06 PM EET, Jarkko Sakkinen wrote:
> On Fri Sep 13, 2024 at 11:05 PM EEST, Ross Philipson wrote:
> > Expose a sysfs interface to allow user mode to set and query the default
> > locality set for the TPM chip.
> >
> > Signed-off-by: Ross Philipson <ross.philipson at oracle.com>
>
> Must be read-only. Should be decided per power cycle.
I'm throwing one incomplete idea not all things considered...
So one idea is would be to apply set operation to /dev/tpm0 as ioctl
(would not be available for /dev/tpmrm0).
Then at least access control rules would apply.
The open here is that the IMA etc. will use a different locality during
boot-time, like it would also with sysfs attribute.
BR, Jarkko
More information about the kexec
mailing list