From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Date: Thu, 28 Mar 2019 12:27:57 +0000 Subject: Re: [PATCH v3] KEYS: trusted: allow trusted.ko to initialize w/o a TPM Message-Id: <20190328122757.GB7094@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit List-Id: References: <20190326121158.13499-1-jarkko.sakkinen@linux.intel.com> In-Reply-To: To: Dan Williams Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, James Morris , James Bottomley , Mimi Zohar , David Howells , "Serge E. Hallyn" , "open list:KEYS-TRUSTED" , open list On Wed, Mar 27, 2019 at 10:15:50AM -0700, Dan Williams wrote: > On Tue, Mar 26, 2019 at 5:13 AM Jarkko Sakkinen > wrote: > > > > Allow trusted.ko to initialize w/o a TPM. This commit adds checks to the > > key type callbacks and exported functions to fail when a TPM is not > > available. > > > > Cc: James Morris > > Reported-by: Dan Williams > > Tested-by: Dan Williams > > Fixes: 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure...") > > Signed-off-by: Jarkko Sakkinen > > --- > > v3: > > - remove unnecessary check for chip in init_trusted() > > v3 also tests ok here. Thank you. /Jarkko