Received: by 10.213.65.68 with SMTP id h4csp507958imn; Fri, 16 Mar 2018 09:53:12 -0700 (PDT) X-Google-Smtp-Source: AG47ELtUyCHKADHDLvqqRmlTZFfGF3LIaKASObht/Yj/TDjiJhs6Jv8W/m3k+vEVCPzac+DkfgMB X-Received: by 10.98.133.86 with SMTP id u83mr2138501pfd.172.1521219192352; Fri, 16 Mar 2018 09:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521219192; cv=none; d=google.com; s=arc-20160816; b=tAvU/xtcf+NU+gqZvQxcolHiBQqnXdfsxCMlbNoUCRrPYqyaW+r1h6E9ORClVlKos1 XnN3V8Kq5ZXh1jtlsA928sJ6V4lR4Bxs96u7zmu5BAuqT5XzPvrW4jD+POLjQ2NZjF2l H4BJO+cafy7/Dr/52Q2KBW/Mtv/sC0ptTAjeH9u6zruvP0FXyvh6D2iG64TTsd+bcXdq FVpHm7GYEOQLFGxfOpUVmNePj/fFQ/uSlwJ6/sD6t0+LwFwbjyH6n2soy7rZTY0pDWLt SCLu7IhR+8pXigllQwPRpylsmAss/aW/zntbYwyRt14VAesaMz/R6FVEvuxErYP3rR2j vBug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject :arc-authentication-results; bh=2UtVvuK+w6GSJhq/UIAFTTB8flzHjNt1lGKfLho0YWc=; b=juIuPdVYBnJ+hny+0C7wPPFf4FZ7mlJStvlnaXfCuqICyFqob3oVx/U9k1icBF1Al2 o1AfXcLe9tZ0CgtB/gQMO2f//WQtgEi7fCqaF21fYM1Dleqij4Yf5cz823Ls9QLCM59g ybWd8O0HVx2xlXUG+2IZn6EXHrlkV19DxSKM9L6Sds+ZK1aBwPcbn2XTFArmx6s1paOJ 4X84DTW7yNzsqeW/LIgzwPPeLqEYqKLPX7/Y8a+V5VjYtBIs4mxQq+Q9R+PjYF9bKwnn N0W1jqn+wxmFhamTb+q1mVJYYWTZTM8zMSD1A5JfN/nt73GKpu/qrISoDbkUT77a479n QB+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si5664529pfi.53.2018.03.16.09.52.58; Fri, 16 Mar 2018 09:53:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbeCPQv7 (ORCPT + 99 others); Fri, 16 Mar 2018 12:51:59 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36408 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbeCPQvy (ORCPT ); Fri, 16 Mar 2018 12:51:54 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2GGoiJo095484 for ; Fri, 16 Mar 2018 12:51:54 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2grf45q8ha-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 16 Mar 2018 12:51:53 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Mar 2018 16:51:51 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 16 Mar 2018 16:51:48 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2GGpmBZ43581626; Fri, 16 Mar 2018 16:51:48 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DD44611C04A; Fri, 16 Mar 2018 16:44:23 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9A34A11C050; Fri, 16 Mar 2018 16:44:22 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.82.212]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 16 Mar 2018 16:44:22 +0000 (GMT) Subject: Re: [PATCH] security: Fix IMA Kconfig for dependencies on ARM64 From: Mimi Zohar To: James Bottomley , "Safford, David (GE Global Research, US)" , Jiandi An , Jason Gunthorpe Cc: "dmitry.kasatkin@gmail.com" , "jmorris@namei.org" , "serge@hallyn.com" , "linux-integrity@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Fri, 16 Mar 2018 12:51:46 -0400 In-Reply-To: <1521134981.5348.62.camel@HansenPartnership.com> References: <1520400386-17674-1-git-send-email-anjiandi@codeaurora.org> <20180307185132.GA30102@ziepe.ca> <1520448953.10396.565.camel@linux.vnet.ibm.com> <1520449719.5558.28.camel@HansenPartnership.com> <1520450495.10396.587.camel@linux.vnet.ibm.com> <1520451662.24314.5.camel@HansenPartnership.com> <1520461156.10396.654.camel@linux.vnet.ibm.com> <191cfd49-0c66-a5ef-3d2b-b6c4132aa294@codeaurora.org> <1520615461.12216.6.camel@HansenPartnership.com> <1520891598.3547.190.camel@linux.vnet.ibm.com> <1520893847.4522.62.camel@HansenPartnership.com> <1520897400.3547.253.camel@linux.vnet.ibm.com> <1520899605.4522.67.camel@HansenPartnership.com> <1521038471.4508.25.camel@HansenPartnership.com> <1521047286.3547.470.camel@linux.vnet.ibm.com> <1521048306.4508.56.camel@HansenPartnership.com> <1521130749.3547.608.camel@linux.vnet.ibm.com> <1521133728.5348.51.camel@HansenPartnership.com> <1521134074.3547.629.camel@linux.vnet.ibm.com> <1521134981.5348.62.camel@HansenPartnership.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18031616-0040-0000-0000-000004220C32 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031616-0041-0000-0000-000026251A60 Message-Id: <1521219106.3503.54.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-16_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803160205 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-03-15 at 10:29 -0700, James Bottomley wrote: > On Thu, 2018-03-15 at 13:14 -0400, Mimi Zohar wrote: > > On Thu, 2018-03-15 at 10:08 -0700, James Bottomley wrote: > > > > > > On Thu, 2018-03-15 at 12:19 -0400, Mimi Zohar wrote: > > > > > > > > > > > > > If EFI is extending the TPM, will the events be added to the TPM > > > > event log or to the IMA measurement list? > > > > > > I'm not proposing any changes to the tpm_pcr_extend API.  At the > > > moment it does an extend without logging, so that's what it will do > > > in the EFI driver case as well.  That means logging is still the > > > responsibility of the caller. > > > > Does EFI support extending multiple TPM banks? > > The specs are here: > > https://trustedcomputinggroup.org/tcg-efi-protocol-specification/ > > As I said, I'm not planning to change the tpm_pcr_.. API.  At the > moment for a TPM2 we extend all banks in the tpm_pcr_extend() API, so > that's what we'll continue to do ... including extending the sha256 > banks with the sha1 hash, which seems to be our current practice. Thanks, what you're planning on doing is a lot clearer now. Mimi