From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C93AC43215 for ; Thu, 14 Nov 2019 09:09:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E30FA2071B for ; Thu, 14 Nov 2019 09:09:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbfKNJIa (ORCPT ); Thu, 14 Nov 2019 04:08:30 -0500 Received: from ozlabs.org ([203.11.71.1]:39105 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727295AbfKNJI2 (ORCPT ); Thu, 14 Nov 2019 04:08:28 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 47DFyK2l6Jz9sSl; Thu, 14 Nov 2019 20:08:24 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 2702809a4a1ab414d75c00936cda70ea77c8234e In-Reply-To: To: Eric Richter , Mimi Zohar , linuxppc-dev@ozlabs.org, linux-efi@vger.kernel.org, linux-integrity@vger.kernel.org From: Michael Ellerman Cc: Ard Biesheuvel , Nayna Jain , linux-kernel@vger.kernel.org, Paul Mackerras , Jeremy Kerr , Oliver O'Halloran Subject: Re: [PATCH v10a 3/9] powerpc: detect the trusted boot state of the system Message-Id: <47DFyK2l6Jz9sSl@ozlabs.org> Date: Thu, 14 Nov 2019 20:08:24 +1100 (AEDT) Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Tue, 2019-11-05 at 23:02:07 UTC, Eric Richter wrote: > From: Nayna Jain > > While secure boot permits only properly verified signed kernels to be > booted, trusted boot calculates the file hash of the kernel image and > stores the measurement prior to boot, that can be subsequently compared > against good known values via attestation services. > > This patch reads the trusted boot state of a PowerNV system. The state > is used to conditionally enable additional measurement rules in the IMA > arch-specific policies. > > Signed-off-by: Nayna Jain > Signed-off-by: Eric Richter Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2702809a4a1ab414d75c00936cda70ea77c8234e cheers