Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA92C433EF for ; Sat, 27 Nov 2021 00:51:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343788AbhK0Ayp (ORCPT ); Fri, 26 Nov 2021 19:54:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344291AbhK0Awp (ORCPT ); Fri, 26 Nov 2021 19:52:45 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40667C061759; Fri, 26 Nov 2021 16:49:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D3B1D623B7; Sat, 27 Nov 2021 00:49:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC3F5C004E1; Sat, 27 Nov 2021 00:49:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637974171; bh=II20qEySVqkmsSffnQMR42gko5v15gO6v2AkIbhSHD0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=iCVlXX3jsDnAMRVtdTCa93IvYSoHXQ1jKDjJmY74JoFTchF1pI0dNgxsyM+btflf1 4EO4qkjoLzyXjtscLvrESNgsWCXwNshsULVAD3edlFTOGS7HH5rRGq0e0S+17SCl2Q YDFc3JmqFu+Ot8/Cj4LtNcXQ0YCoT6Ia+qnVglBvpSoEf7t70CiL4K5YfyMjtRJJJK CTwBqrqwBpCajd2b3UMDi/kov+PNaBLCK6TIAexpT2Pwf77JG+YXCFDMdmuyKsj9CV r45llRMd6IkphpjK+sPl0srU3z3pQjBLDPocCCDT+Nl3tHkoSe/U48efMc+tUKTylb FGt/rdmRXfjgQ== Message-ID: Subject: Re: [PATCH v8 09/17] KEYS: Rename get_builtin_and_secondary_restriction From: Jarkko Sakkinen To: Eric Snowberg , keyrings@vger.kernel.org, linux-integrity@vger.kernel.org, zohar@linux.ibm.com, dhowells@redhat.com, dwmw2@infradead.org, herbert@gondor.apana.org.au, davem@davemloft.net, jmorris@namei.org, serge@hallyn.com Cc: keescook@chromium.org, torvalds@linux-foundation.org, weiyongjun1@huawei.com, nayna@linux.ibm.com, ebiggers@google.com, ardb@kernel.org, nramas@linux.microsoft.com, lszubowi@redhat.com, jason@zx2c4.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-efi@vger.kernel.org, linux-security-module@vger.kernel.org, James.Bottomley@HansenPartnership.com, pjones@redhat.com, konrad.wilk@oracle.com Date: Sat, 27 Nov 2021 02:49:28 +0200 In-Reply-To: <20211124044124.998170-10-eric.snowberg@oracle.com> References: <20211124044124.998170-1-eric.snowberg@oracle.com> <20211124044124.998170-10-eric.snowberg@oracle.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.40.4-1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gVHVlLCAyMDIxLTExLTIzIGF0IDIzOjQxIC0wNTAwLCBFcmljIFNub3diZXJnIHdyb3RlOgo+ IEluIHByZXBhcmF0aW9uIGZvciByZXR1cm5pbmcgZWl0aGVyIHRoZSBleGlzdGluZwo+IHJlc3Ry aWN0X2xpbmtfYnlfYnVpbHRpbl9hbmRfc2Vjb25kYXJ5X3RydXN0ZWQgb3IgdGhlIHVwY29taW5n Cj4gcmVzdHJpY3Rpb24gdGhhdCBpbmNsdWRlcyB0aGUgdHJ1c3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