Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp993624imu; Tue, 11 Dec 2018 10:49:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/W5mvByGlY4/R782LB+RBz5VKHLaaY7nAkkvGuCdnrOU+WcscJAsQloTU4t/L6dmGKvNyrY X-Received: by 2002:a17:902:5a86:: with SMTP id r6mr16289031pli.301.1544554170714; Tue, 11 Dec 2018 10:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544554170; cv=none; d=google.com; s=arc-20160816; b=pbfmjj53iDrRuVsMuXN/ggzu5QH13J1mdW7y3XOkiVA11xh+A5tzmGeVVin6K44PAp tgL+o6hkab2ju99jOTryFaiHooPeh5QqpOEJTqf0T0kZAfdxLfgyLpwOFOr2CwvEdo1E nxcEkc+XnbpC0JvWyK0+2TLBPxCB4Eu/LOucMYxkjdEuF7osUmqiBIkrhAN5PUB+S9gq kKrLO+3IO39sswd+aJX9Yi9JdNlqwOYxniPOF02rcIKU4SORIt1/pb6FND1augb+j2cH Bl9hQ6W1/62M7yJ8p6pLJQcG6ihhzh5zC+2m6MSJ8JIVvi0q2KsfWBF7p0RyfRtk2T5V X14A== 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:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Ty5m4oG62KZKsldU3UY+WiirL1iW05xSi3elHEQ6XZc=; b=n8YkvCNf6jbAE2+zQyyRdDaPJbuSJly1uq4tn0L0eizpmNd14dwwS4DuTqXkKisK88 WrlNWahwHURYoXfS2W7i9riREDBlfHlJGAlnuwxhhCWCcZNOM1YPp5yM5EZXB93uhxWd P1qUDkH6d4a6LUBV/pbz+Es+z/o0zZU2IgeK9/z0mRGhQJamqThv6yEvnQ0iBj6hkX/l z7AS/iAZqNENEVctZOaBPQykz5eWzvVtc6JADKDM/Q2Ex8zVeEfIgw1/DfcCs4PoQU2n tdJdTFkxnC+p3fqFrDjxOBuA2uQDzvzvX7V5HGsp887uVNhbJwNO6vwmKgpHF6g+E9kI MgSA== 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 z14si12271609pgz.180.2018.12.11.10.49.15; Tue, 11 Dec 2018 10:49:30 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727122AbeLKSa1 (ORCPT + 99 others); Tue, 11 Dec 2018 13:30:27 -0500 Received: from namei.org ([65.99.196.166]:58940 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726620AbeLKSa1 (ORCPT ); Tue, 11 Dec 2018 13:30:27 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id wBBIU8bl011920; Tue, 11 Dec 2018 18:30:08 GMT Date: Wed, 12 Dec 2018 05:30:08 +1100 (AEDT) From: James Morris To: Nayna Jain cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, zohar@linux.ibm.com, dhowells@redhat.com, jforbes@redhat.com, seth.forshee@canonical.com, kexec@lists.infradead.org, keyrings@vger.kernel.org, vgoyal@redhat.com, ebiederm@xmission.com, mpe@ellerman.id.au Subject: Re: [PATCH v2 2/7] integrity: Load certs to the platform keyring In-Reply-To: <20181208202705.18673-3-nayna@linux.ibm.com> Message-ID: References: <20181208202705.18673-1-nayna@linux.ibm.com> <20181208202705.18673-3-nayna@linux.ibm.com> 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 On Sun, 9 Dec 2018, Nayna Jain wrote: > The patch refactors integrity_load_x509(), making it a wrapper for a new > function named integrity_add_key(). This patch also defines a new > function named integrity_load_cert() for loading the platform keys. > > Signed-off-by: Nayna Jain > Reviewed-by: Mimi Zohar > Acked-by: Serge Hallyn Reviewed-by: James Morris -- James Morris