From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from quartz.orcorp.ca ([184.70.90.242]:59053 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754185AbcH2UH5 (ORCPT ); Mon, 29 Aug 2016 16:07:57 -0400 Date: Mon, 29 Aug 2016 14:07:44 -0600 From: Jason Gunthorpe To: Jarkko Sakkinen Cc: Peter Huewe , linux-security-module@vger.kernel.org, stable@vger.kernel.org, Marcel Selhorst , "moderated list:TPM DEVICE DRIVER" , open list Subject: Re: [PATCH] tpm: fix a race condition in tpm2_unseal_trusted() Message-ID: <20160829200744.GA3201@obsidianresearch.com> References: <1472366212-8571-1-git-send-email-jarkko.sakkinen@linux.intel.com> <20160828185149.GF12783@obsidianresearch.com> <20160829152520.GA9063@intel.com> <20160829192110.GA1509@obsidianresearch.com> <20160829194027.GA21946@intel.com> <20160829200326.GA6758@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160829200326.GA6758@intel.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Aug 29, 2016 at 11:03:26PM +0300, Jarkko Sakkinen wrote: > I will also add documentation comments for tpm2_unseal_cmd, > tpm2_load_cmd and tpm2_flush_context_cmd. Do you think it is sufficient > to say "Return: same as with tpm_transmit_cmd"? yes Jason