lkml.org 
[lkml]   [2017]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] tpm: don't return -EINVAL if TPM command validation fails
On Mon, Nov 20, 2017 at 10:26:01AM +0100, Javier Martinez Canillas wrote:

> I thought the TPM spaces was about exposing a virtualized TPM that didn't
> have the limitation of only allowing to store a small set of transient
> objects (so user-space didn't have to deal with the handles flushing and
> context save/load), rather than relaxing the access control to the TPM.

Somehow it became about both ..

The kernel defaults the tpmrm to root only, so the distro can decide
how to set it up. Some people are giving access to unpriv users.

> Having said that, I'm happy to implement the synthesized response when
> the command is not supported, if that's the correct way to resolve this.

It seems like it, from what I can see, but only if the command is not
supported..

You should double check with James of course.

Jason

\
 
 \ /
  Last update: 2017-11-20 19:05    [W:0.156 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site