Received: by 10.213.65.68 with SMTP id h4csp23087imn; Mon, 12 Mar 2018 16:00:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELumbG9m7CxTrcfFwBRLu/8fXM3Iotf/eEyyyGhJT6oUGjJ5YQV1Sh3hv/fQr17ZHqvScJxf X-Received: by 2002:a17:902:10d:: with SMTP id 13-v6mr9560318plb.266.1520895603291; Mon, 12 Mar 2018 16:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520895603; cv=none; d=google.com; s=arc-20160816; b=aup+FhgRa9OgypxAdR9oLaMWYvr/eUoVk/e0a8OC1TGKjuxCp4FAH0rmdS5JbrYMnq 2pHEEvQovpuL0xCkFcDbQ6ewtn9oaO3mdmvbhKn7EpaSFqEnQ83XyAiDIba05OSMv67l UUId6fsxtRyspwHSSAMjR1+cr5Q5/2laJFGGaW7ufunglH1nC0veXF+fxhUAdmrbsmrB g5Ob4e4sDNBy/jmfqystVsR65+ryDbo5wK8PbgvyJsstGRq8XdiKIKztNLZQPW1/iRx6 u72ljaJVmJ5Rjdttq/UUgaH8z+UD6pSfFqEc4LkYRrmsx/QT0GvtLOB5O4pjW5RIzkhU IA3w== 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=lZjSapaCxVAGab3Tumrf+E7T/2foilsEiI0ifMBUNFc=; b=z9BLk9g9XN+hiOFaU4MMw+pU/WoxC497rb+inbJVMQoUTZxiehQ/UUIO2NIykhYP1Q BBh9cgZTAjYmhIqqExEwbkjoLBueIsddSb3bGkwrrjvs1jftkfGYJ4RwPZ6x2udUTqeo 2O4/h6Oxl0jbvSJtLPPsQ8fJumRKZLttV/Tk0E+v3KT2VTJg0QCNfRhYhXay3lx0VNPg eGJGkr1h8f0yBTmPVrfTKnpvHvEywdBpkbNr8dAuA040vooPh4ETMojEAZMLimjtA52O 7pzzGMwTtgpme7sEIoDwvHvYFBlp7PMDyVIjjcZYMJOhwd7oqX78v5QtCy17OQpl/l2Q xWeQ== 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 95-v6si6612877plc.612.2018.03.12.15.59.48; Mon, 12 Mar 2018 16:00:03 -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 S1751419AbeCLW64 (ORCPT + 99 others); Mon, 12 Mar 2018 18:58:56 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37788 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751312AbeCLW6x (ORCPT ); Mon, 12 Mar 2018 18:58:53 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2CMwlOV147407 for ; Mon, 12 Mar 2018 18:58:53 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gp0xpuprf-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 12 Mar 2018 18:58:53 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 12 Mar 2018 22:58:51 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 12 Mar 2018 22:58:47 -0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2CMwlKT62128324; Mon, 12 Mar 2018 22:58:47 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CA7B042041; Mon, 12 Mar 2018 22:51:03 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 730B54203F; Mon, 12 Mar 2018 22:51:02 +0000 (GMT) Received: from dhcp-9-2-55-16.watson.ibm.com (unknown [9.2.55.16]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 12 Mar 2018 22:51:02 +0000 (GMT) Subject: Re: [PATCH] security: Fix IMA Kconfig for dependencies on ARM64 From: Mimi Zohar To: Jason Gunthorpe Cc: James Bottomley , Jiandi An , dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, linux-integrity@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, linux-ima-user@lists.sourceforge.net, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, David Safford Date: Mon, 12 Mar 2018 18:58:45 -0400 In-Reply-To: <20180312215957.GI24717@ziepe.ca> 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> <20180312215957.GI24717@ziepe.ca> 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: 18031222-0016-0000-0000-00000530A804 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031222-0017-0000-0000-0000286DD71A Message-Id: <1520895525.3547.226.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-12_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 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-1803120250 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-03-12 at 15:59 -0600, Jason Gunthorpe wrote: > On Mon, Mar 12, 2018 at 05:53:18PM -0400, Mimi Zohar wrote: > > > Using Kconfig to force the TPM to be builtin is not required, but > > helpful.  Users interested in IMA-measurement could configure the TPM > > as builtin themselves.  Without the TPM builtin, IMA goes into TPM- > > bypass mode. > > This issues, broadly speaking, we have lots of TPM drivers, selecting > only some to actually support IMA shows we have some kind of problem > here. True, IMA is not selecting the older TPM vendor specific modules, but only the newer TPM_TIS and now TPM_CRB modules.  That doesn't imply that IMA only supports some TPMs.  It means that by default, these TPMs are builtin.  Anyone building a kernel, can select the vendor specific TPM to be builtin. Mimi