Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp352372imu; Fri, 11 Jan 2019 01:22:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN5dZ0OkxergJVNsVseJS0r9MfeMuuo/WldqF5szec1x4YguYBrRS3r5vRDcCudkzVeGk5Px X-Received: by 2002:a62:6503:: with SMTP id z3mr13398106pfb.169.1547198573481; Fri, 11 Jan 2019 01:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547198573; cv=none; d=google.com; s=arc-20160816; b=Npq4oJ77y/JqwxWZflxU3x1f10ezb76ooP9QHHidh2hZbOM5mXZT//9nPOJBDpwWRE K9xbKMTE5jCbzip6z2S1RMtJk+2t0+nzZRjK5wlvSIL8HzxysO+vHkZc1iL/rtZe3m3v JogTIYOZyJrHxNQaSqfWgij6AnHMLe2sMGfgdnB1mKLsntNftK1uf3W2jRyaZ9hULITR N7g4Az0HvhGZlE7gjEqYfluZ1FqWqseuuTeEYRwuYZgbpuGCe/CRxf5IMmEZnjKXPAwW 99Z1FYZpGD0nayFwqBc7b+edKy/OiXRdS4iDmuILQ7BIP76axFXpd507LJ7iC2f0HJOr VcKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=JQMA3QxpEBESJ+heeQqRTACLTtqyDII/FYu/hojW4ec=; b=L1kGA0kTsqcW8yOWsDGr2b0eN83rZurkbU8UkALOGWfG0UGcjzCKeLci8PBHNt5L7y aul2rQocPDOIfuHubaJAUsTYuhhW7nP64OmsXoz7tyfGa0oH4G2Hf4oEb0dCbAx1QX8F 0l9IWjP2gNCRDKwOhV38rQExx8N/MRB+5NDhGznBWxIgFgJnBmJQjxPibc6k3cUVDoGy QOP2DnfM1f6et5s6F9uL1Vc5EJlWHp3roVI2a7M9MtPj87AGTLelnLYzMLmzfy6fVJpl 5yKI4gVfLFfTqbEdPeKGLBAINsWi1qEmHaQtSoAKbGDKzbhjVUayoW8ktM4xj8Irzg5R Aofg== 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=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h191si56231036pgc.302.2019.01.11.01.22.38; Fri, 11 Jan 2019 01:22:53 -0800 (PST) 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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731326AbfAKJA0 (ORCPT + 99 others); Fri, 11 Jan 2019 04:00:26 -0500 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:35523 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbfAKJAY (ORCPT ); Fri, 11 Jan 2019 04:00:24 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R991e4;CH=green;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04452;MF=zhang.jia@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0TI.KgAr_1547197174; Received: from localhost(mailfrom:zhang.jia@linux.alibaba.com fp:SMTPD_---0TI.KgAr_1547197174) by smtp.aliyun-inc.com(127.0.0.1); Fri, 11 Jan 2019 16:59:34 +0800 From: Jia Zhang To: jarkko.sakkinen@linux.intel.com, peterhuewe@gmx.de, jgg@ziepe.ca, tweek@google.com Cc: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, zhang.jia@linux.alibaba.com Subject: [PATCH v2 0/2] tpm/eventlog/tpm1: Small fixes Date: Fri, 11 Jan 2019 16:59:31 +0800 Message-Id: <1547197173-52826-1-git-send-email-zhang.jia@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change since V1: - Add test results with LTP. - Rewrite patch 1's commit header. Here is the test result with LTP testcase ima_tpm.sh which is used to verify binary_bios_measurements. ima_tpm 1 TINFO: timeout per run is 0h 5m 0s ima_tpm 1 TINFO: /proc/cmdline: BOOT_IMAGE=/boot/vmlinuz-5.0.0-rc1+ root=UUID=c665e92c-736d-4b08-9143-a57396f935f3 ro rootwait crashkernel=auto console=tty0 console=ttyS0,115200 reboot=efi ima_hash=sha1 ima_tpm 1 TINFO: verify boot aggregate ima_tpm 1 TPASS: bios aggregate matches IMA boot aggregate ima_tpm 2 TINFO: verify PCR values ima_tpm 2 TINFO: evmctl version: evmctl 1.1 ima_tpm 2 TCONF: TPM Hardware Support not enabled in kernel or no TPM chip found Summary: passed 1 failed 0 skipped 1 warnings 0 Note: The 2nd test in ima_tpm requires /sys/class/tpm/tpm0/device/pcrs but this interface is not available if TPM2 device used. So the test result showed above is expected. Jia