Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp107874imm; Mon, 2 Jul 2018 08:27:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKdpf3e4HLJNxSHHt/SR2QdrWf8vN5ABc97sw9nRwX9bTsRmkWDOn7d97udYQs6Qvr+UThs X-Received: by 2002:a17:902:bb90:: with SMTP id m16-v6mr26242036pls.50.1530545227215; Mon, 02 Jul 2018 08:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530545227; cv=none; d=google.com; s=arc-20160816; b=GDNdkl9LTRZ+zf/mrLBtU2aUAeG+CaXKmZVVbAYfZzaOpg9ySsCwblQmGDabjRjbrQ 5Oj2x9ldE5C6OlsrpFx/eujlhonB9I1Cp4OSQFt+bDXW9l3C68jRiSddOaknvs28CTRQ B9bbR8OMY5ZciB8h1pEyYbUBh0RDW36qJW73lz4MoBFKDbl+0dmlKUgvTSCOdUb4nXaW DCtwMiw0TWnUeugndyMb5ipJVLRFyG/t8x6EjKitQisoStORq6Ux2URbsWOJLFX8GQCn /SlNgM5uqHnzwJYeC0Ob+rDcptAzg/rzr5jJR2aNe4BGPF7xxnGpasrsusg2dypW4WGE uzmA== 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-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=sndpIXTYjWPet7mb2L+OyUhcBnGomv9Dfrf5INcRhMI=; b=X3udt2SS++RUFQq/BqDPC/7hciSdO5MJgWG8yNkhgmfs5xQjLdrmSELN95sEv9GwTo ewkTVV/FNOqi9hmudSIQadU0BBt0vUe3L5rMyQBe5iRi/4MAI9F07GXtxKCFJ3leB3TL hJoB89ANnoImxMKDsIwY7wx/4/0pHauiRpXjiYptWiSmYyNLeR11ozflwUxOYcBATegz TsTLHiU+cDrbq1jpN0oB+c/ZoeFIWUg5smW3eF425bjP2m6I+XpAujAcJr7FnbE6zbsH 0xEBHv5KxDhy7peAHmWVjBgn6+HZ7zKyQ4cBZr2HzMKfC5gG5/j+oZdLZ4UCzFvWW602 uJKA== 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 p129-v6si12753043pfb.145.2018.07.02.08.26.43; Mon, 02 Jul 2018 08:27:07 -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 S1752756AbeGBPZ1 (ORCPT + 99 others); Mon, 2 Jul 2018 11:25:27 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38594 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752575AbeGBPZZ (ORCPT ); Mon, 2 Jul 2018 11:25:25 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w62FOS5K123418 for ; Mon, 2 Jul 2018 11:25:25 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jymvtw04n-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 02 Jul 2018 11:25:24 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Jul 2018 11:25:23 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 2 Jul 2018 11:25:21 -0400 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w62FPKXe65077252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Jul 2018 15:25:20 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D392128058; Mon, 2 Jul 2018 11:24:54 -0400 (EDT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C40DC2805C; Mon, 2 Jul 2018 11:24:54 -0400 (EDT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 2 Jul 2018 11:24:54 -0400 (EDT) Subject: Re: [PATCH v7 5/5] ima: Get rid of ima_used_chip and use ima_tpm_chip != NULL instead To: Mimi Zohar , linux-integrity@vger.kernel.org, jarkko.sakkinen@linux.intel.com Cc: linux-kernel@vger.kernel.org References: <20180626190933.2508821-1-stefanb@linux.vnet.ibm.com> <20180626190933.2508821-6-stefanb@linux.vnet.ibm.com> <1530544304.3709.40.camel@linux.vnet.ibm.com> From: Stefan Berger Date: Mon, 2 Jul 2018 11:25:20 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1530544304.3709.40.camel@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW X-TM-AS-GCONF: 00 x-cbid: 18070215-0052-0000-0000-000003074F1F X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009295; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01055514; UDB=6.00541376; IPR=6.00833436; MB=3.00021964; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-02 15:25:23 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18070215-0053-0000-0000-00005D373FB3 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-02_05:,, 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 mlxscore=0 impostorscore=0 mlxlogscore=872 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807020176 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2018 11:11 AM, Mimi Zohar wrote: > Hi Stefan, > > On Tue, 2018-06-26 at 15:09 -0400, Stefan Berger wrote: >> Get rid of ima_used_chip and use ima_tpm_chip variable instead for >> determining whether to use the TPM chip. > I don't see a need for separating this change from the previous patch. > Could you squash this patch with the previous one? > > As Jarkko has already queued the TPM patches, there's no need for > posting them.  Posting just this one IMA patch is fine. > > thanks! Posted