Re: FW: [RFC PATCH] tpm: don't return -EINVAL if TPM command validation fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 08, 2017 at 03:16:53PM -0500, Ken Goldman wrote:

> First, to handle the error, the user space TSS would have to know that the
> RM is mapping what would normally (with the simulator or /dev/tpm0) be the
> usual TPM response packet.  This mapping isn't documented anywhere.

There are lots of failure cases that have nothing to do with the TPM,
and I really don't want to see complex code mapping traditional POSIX
errors into TPM packets in the kernel.

If you need that, do it in userspace??

Jason



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux