Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2039063imu; Thu, 17 Jan 2019 07:24:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN67lJ7TNHeHNbKEreLBIzue3ny8MZPGXHVQp22PRvfbn6xdJeMMTrWsISUevEO4o8qh6Y9D X-Received: by 2002:a63:dd15:: with SMTP id t21mr13288037pgg.347.1547738695047; Thu, 17 Jan 2019 07:24:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547738695; cv=none; d=google.com; s=arc-20160816; b=Fw7gW4XKqnxRgooOQmhvzE1LD/045q324C8mjx7n6zedT4LnV7cfkLRJVFpLOkPpZG cB3QDE2aBnAWNrbpVY4fm1SG1Qt8n4xyKWGpm9Iq3If9MhPoV1k32qT5BjmP8FfyYNzc iCcEzGObQZ1qxoV+ZGdfk5VNmPJfQje+zhrfWqfkaHpp008YsRAdz+6B6Mf3AsAMWqjA Ghh3/JmQabue8UQR5lCNbr1JHDZSyfmrumcdm/3/6uwhskAQ2dAtKo0TzQyujdJ2c57s aQ6p4M3uQF3lwMCbmL86gDYp2dP/01oUHaaADZd01T451OcbBgskPTVJkON1o7RM35Dn SWag== 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:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization; bh=wQXoyVWSPEiNZhdJRztCM+GJ33BG5N5StOnww4iEDkA=; b=l3CiSrrTBnLj/XZdnmXI3LVLKvtLo9ya69OnC9kw4MSz+gxPL1kwFHQPDDdDaQqiDL otg6HU1XE/giK7At1jjAaS9uAZhT15VB9AjIZDME1Yhgdxa+dqkrSWDayYx79GzbXwSt 6YqOxdvAf6EsWfetD9x0vykkXeiNULqofDg2KHkAEfqcEAyPZTsktD/NA6fP/xsmKEw2 gnjeXChoQH7U656ViWu+VPRZ3xEOmas0sSr/1HrzpNjf8AopMJETEBxUH1zYR0kGVyBE apV0WZ5TMCqMvNem5bXRaqApft6vruxIR2XmRM4rXODu5fxBNiAuD/mZ9PucR7tg8Two uBuw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61si1960903plb.309.2019.01.17.07.24.39; Thu, 17 Jan 2019 07:24:55 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728068AbfAQPE2 (ORCPT + 99 others); Thu, 17 Jan 2019 10:04:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55202 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727165AbfAQPE2 (ORCPT ); Thu, 17 Jan 2019 10:04:28 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 41F6018DF61; Thu, 17 Jan 2019 15:04:26 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-128.rdu2.redhat.com [10.10.120.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id BBF9760BE5; Thu, 17 Jan 2019 15:04:22 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20190108081247.2266-2-kasong@redhat.com> References: <20190108081247.2266-2-kasong@redhat.com> <20190108081247.2266-1-kasong@redhat.com> To: Kairui Song Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, dwmw2@infradead.org, jwboyer@fedoraproject.org, keyrings@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, zohar@linux.ibm.com, bauerman@linux.ibm.com, ebiggers@google.com, nayna@linux.ibm.com, dyoung@redhat.com Subject: Re: [RFC PATCH 1/1] KEYS, integrity: Link .platform keyring to .secondary_trusted_keys MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21895.1547737461.1@warthog.procyon.org.uk> Date: Thu, 17 Jan 2019 15:04:21 +0000 Message-ID: <21896.1547737461@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 17 Jan 2019 15:04:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kairui Song wrote: > +extern const struct key* __init integrity_get_platform_keyring(void); This should really be in keys/system_keyring.h and probably shouldn't be exposed directly if it can be avoided. David