[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <D5B69X48SFO7.RMZ1I1926BPF@kernel.org>
Date: Fri, 01 Nov 2024 23:50:05 +0200
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Jarkko Sakkinen" <jarkko@...nel.org>, "Ross Philipson"
<ross.philipson@...cle.com>, <linux-kernel@...r.kernel.org>,
<x86@...nel.org>, <linux-integrity@...r.kernel.org>,
<linux-doc@...r.kernel.org>, <linux-crypto@...r.kernel.org>,
<kexec@...ts.infradead.org>, <linux-efi@...r.kernel.org>,
<iommu@...ts.linux-foundation.org>
Cc: <dpsmith@...rtussolutions.com>, <tglx@...utronix.de>,
<mingo@...hat.com>, <bp@...en8.de>, <hpa@...or.com>,
<dave.hansen@...ux.intel.com>, <ardb@...nel.org>, <mjg59@...f.ucam.org>,
<James.Bottomley@...senpartnership.com>, <peterhuewe@....de>,
<jgg@...pe.ca>, <luto@...capital.net>, <nivedita@...m.mit.edu>,
<herbert@...dor.apana.org.au>, <davem@...emloft.net>, <corbet@....net>,
<ebiederm@...ssion.com>, <dwmw2@...radead.org>, <baolu.lu@...ux.intel.com>,
<kanth.ghatraju@...cle.com>, <andrew.cooper3@...rix.com>,
<trenchboot-devel@...glegroups.com>
Subject: Re: [PATCH v11 18/20] tpm: Add sysfs interface to allow setting and
querying the default locality
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@...cle.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
Powered by blists - more mailing lists