Thread (17 messages) flat view 17 messages, 3 authors, 2020-09-11

Re: [PATCH RESEND v4 0/1] add sysfs exports for TPM 2 PCR registers

From: Jarkko Sakkinen <hidden>
Date: 2020-09-07 13:32:44
Also in: linux-integrity

On Mon, Sep 07, 2020 at 07:38:24AM +0200, Greg KH wrote:
Please just use a binary blob format.  Binary sysfs files are exactly
what this is for, you are just passing the data through the kernel from
the hardware to userspace.

You can have 24 binary files if that makes it easier, but the existing
format really is an abuse of sysfs.

Or use securityfs, that's fine too, but as you say, you have to write
more code for that.

thanks,

greg k-h
I suggested this in previous round: to have a single 'pcrs' binary file
with <TPM Alg ID, blob> pairs contained.

/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