[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <09e36b0d97b5f01ea5925b5a3031198049714ce8.camel@linux.intel.com>
Date: Mon, 25 Jun 2018 19:07:23 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Ricardo Schwarzmeier <Ricardo.Schwarzmeier@...ineon.com>,
linux-integrity@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, peterhuewe@....de, jgg@...pe.ca,
arnd@...db.de, gregkh@...uxfoundation.org
Subject: Re: [PATCH v4] tpm: Return the actual size when receiving an
unsupported command
On Fri, 2018-06-22 at 08:50 +0200, Ricardo Schwarzmeier wrote:
> The userpace expects to read the number of bytes stated in the header.
> Returning the size of the buffer instead would be unexpected.
> Fixes: 095531f891e6 ("tpm: return a TPM_RC_COMMAND_CODE response if command is
> not implemented")
>
> Signed-off-by: Ricardo Schwarzmeier <Ricardo.Schwarzmeier@...ineon.com>
> ---
Do you have a changelog?
/Jarkko
Powered by blists - more mailing lists