Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1081544yba; Thu, 9 May 2019 10:25:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqP48YRFMJR87IOeITAS5nKNHq6IunwmIX5yKVUP+LQTE+haKd3jxkMp+3wgApomC6KUOw X-Received: by 2002:a62:4ed8:: with SMTP id c207mr7049470pfb.241.1557422701567; Thu, 09 May 2019 10:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557422701; cv=none; d=google.com; s=arc-20160816; b=rDrlk9vzUVCMRWMUFCUXCErlHmF+wRvAISUTn7QlY9nCT6gvG6TF0A4TIWbUXKXy3k tSBJ18Hmqbl0FBCyUtoc381NSC5iGQZLIeJvEzNwuuw9o2FhKd7jFkUFto3Yb7A9qois YZ5waZqMvVLuMOBKMlC5110yPTSQUEnSmP10i4bZWh5iWalPEMVoNNSfs5zQjovkUb6v IFPx97EdqxuumVKUFtBhqsKE96r/3Fqxu6JoSW7+2+QPiTiaBuXrGdkJmmHjowU+pplL HEIg87L3Uuj0H6+JarAyZiETPeHjFeieEHDZsAvfitoEewdXAFneP6CcsiLesMgHlAHG rftA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=zjuJtM6plGip5BsZ3wi4p4p6+VPxha+Kr1OfQH9SxwY=; b=PV7FFwt6NQCM7eh9lP0W4La3AI7wCJoNAxsgqMKqIW103IBFwbUy/Jva/hpYEJ+/v4 PLYbxyFOtQaqDtNwbUohPcQZ4hoB+h0HFACkOIufvcdkat5gAnjLb64JJ6LatJOWh30w hHxn4/kO6Ke/4W9H0JLn2fhHSxlyj/2Y+Ge4ulYjecooU+wpnM1pEP3k8If6Llux9QD7 wW2ORRaDth6MDRmDqLZyqCkJyr15ekGkeanDFzYuvKhJlBDcaA/USAop7QWDLAtQbPxj 22RJqFHs9o/KMTCA4h1JVtHv2oQyG4XxzonFH6+eTapNbEXqOxRu9ek40t0dDdy6qqHr 1tEw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126si3707334pgc.2.2019.05.09.10.24.44; Thu, 09 May 2019 10:25:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726767AbfEIRXY (ORCPT + 99 others); Thu, 9 May 2019 13:23:24 -0400 Received: from namei.org ([65.99.196.166]:38258 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbfEIRXX (ORCPT ); Thu, 9 May 2019 13:23:23 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x49HNMvU025826; Thu, 9 May 2019 17:23:22 GMT Date: Fri, 10 May 2019 03:23:22 +1000 (AEST) From: James Morris To: Linus Torvalds cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [GIT PULL] security subsytem: TPM changes for v5.2 Message-ID: User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From Jarkko: Bugfixes and new selftests for v5.1 features (partial reads in /dev/tpm0). The following changes since commit 8d93e952fba216cd0811247f6360d97e0465d5fc: LSM: lsm_hooks.h: fix documentation format (2019-03-26 16:46:22 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-tpm for you to fetch changes up to a94e55b91c7d1494c1a4598178dc5f1d7dfe12aa: Merge tag 'tpmdd-next-20190329' of git://git.infradead.org/users/jjs/linux-tpmdd into next-tpm (2019-03-29 11:39:20 -0700) ---------------------------------------------------------------- James Morris (1): Merge tag 'tpmdd-next-20190329' of git://git.infradead.org/users/jjs/linux-tpmdd into next-tpm Jarkko Sakkinen (2): KEYS: trusted: allow trusted.ko to initialize w/o a TPM tpm: turn on TPM on suspend for TPM 1.x Tadeusz Struk (3): selftests/tpm2: Open tpm dev in unbuffered mode selftests/tpm2: Extend tests to cover partial reads tpm: fix an invalid condition in tpm_common_poll Yue Haibing (1): tpm: Fix the type of the return value in calc_tpm2_event_size() ndesaulniers@google.com (1): KEYS: trusted: fix -Wvarags warning drivers/char/tpm/eventlog/tpm2.c | 4 +- drivers/char/tpm/tpm-dev-common.c | 9 ++++- drivers/char/tpm/tpm-interface.c | 14 +++---- include/keys/trusted.h | 2 +- security/keys/trusted.c | 32 +++++++++++---- tools/testing/selftests/tpm2/tpm2.py | 5 ++- tools/testing/selftests/tpm2/tpm2_tests.py | 63 ++++++++++++++++++++++++++++++ 7 files changed, 108 insertions(+), 21 deletions(-)