Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp737841ybk; Fri, 15 May 2020 12:12:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhRlpjXp5kd2dkjtpLsagyBwefP5DHz05Sw1puc2EZnDnX17hnQJZcDqKcBklhGAieIya+ X-Received: by 2002:a17:906:34c7:: with SMTP id h7mr4154010ejb.300.1589569955007; Fri, 15 May 2020 12:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589569955; cv=none; d=google.com; s=arc-20160816; b=OPvSAwbe4Bfji+53IRdcAPzB1rGpGg3m7Hg8B1t+73eE5BPJrRkDI4uwaFnWzHYnAd M9nfJVLrMNEvS/yJqLMp2nkOJBTeUFHUrSgh/HZkcrZwztLRjxZ6wgR6S7xTQgzP7daN 7b9fv+rGpsF2bYqvvOjylI34BpsZ0hM6lazsxGD+IlNvlcIMuiWgX4+YupHgVZ+dD79/ /Eoc3Ir25pxPmaeHxzEXwN5PHhpM0uEemOhQYDAI5lCGdHP06RHKHOxfW/O42KswMu31 MwQSjJpGaWdqz6EQlLwkDDAyQYmuNNMxHlaepIg2qMFOkCWiqcOEttPEHegep1mHPSg1 KesQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=WPsHLe9g5yHs563Uuj+CpTBWcNmODYTyuyUfmE44vqo=; b=0PhK1RNO1USLOLegl/BCz5YSZNrI5WP0NtCQkC8ta/rDLtuQ8JLl8dGbun+QEjGRSS Z+ux2uXqMKTsujgvebENs1pPkRlXTscIXhPhXYfH5QJBd6w2nsRdWRymhV/qr9Ovzt1l jHH/F9eTNPFXxvaYttfmInmbNN03Dp4zx3pZqIjnPY8rzOOhp61aKBC9r5BzhblZQ+hA HZEnW2KzN2PB9UPxdR/oibQoqCN4Isl6bYJL3xpAVB2xgQiec+yIQ9vVyAXC9rC9FbXC IMSsAWhT9LpgCHclN9mzUcyXJ+dHPWr6zaA34MldFwASw5+gvAwYlwtwS62g8hME4ZcJ 5pBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=VqdlBCKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si1826301ejr.440.2020.05.15.12.12.12; Fri, 15 May 2020 12:12:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=VqdlBCKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbgEOTKc (ORCPT + 99 others); Fri, 15 May 2020 15:10:32 -0400 Received: from sonic309-27.consmr.mail.ne1.yahoo.com ([66.163.184.153]:36484 "EHLO sonic309-27.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgEOTK3 (ORCPT ); Fri, 15 May 2020 15:10:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1589569828; bh=WPsHLe9g5yHs563Uuj+CpTBWcNmODYTyuyUfmE44vqo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=VqdlBCKXlvcb6xUcWJSFqf3FFWpN4NUWuwnJl4pWDsaSAKlnMdpzPM+C/2DtZuqByMpjqBzkuUg1zwdaKmLffOiretaPppeB8lxsaCjY44tkIkDrmKLVbGzFLfZl8e+b3euLFz464L6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OTVuL3FKiol2wrMYdVYM6ogk_8DIFmZjw.X7Dc6t9nMAnO_y2AX0SBx1UKl .W6X23MSFhjPdJedmqU3NDWZotsV6GcepeCj10ZVhMx5yaekigv5Zwv4VMkQFooS5CEZdTjnlv6j dLpjBidhPSaHj8oT6ii8fKc_jFj0n2lx.yb0KqnXbsUWUb4njII8fb1eC1mlJpBv1ciTQgJDAvDR mncYuGaZqZQsfvvUt6ZghM.LU9KfTBhXPmg5VeHXELW44dwvJcMRg76IHtRWd3WTgrth1nWJJHxK ZdU8GWwUfSPuqnZTjfBtksnCWpeuMdyxHmloCPDGtTUKm9Y0fFJXgg.2dpQq4EEpCp_4Rs.252eB KusnFB0tqgFFjiXupmkaLPR0McDswWIK_6JG2MmZQ_Mm4yD0K3TSRh1cxKZLZCAWc4xFjorhuW6k EMHtZ7wNvYJ1LiHBo1VGWp.R1KEN0BZRhrCFdSIMZS.b9is3Bd52WMOHx2k54qf9P8P.QhmXcLGj hutvrNMsA9AEPrAQOuWAmk2MamZWCQPdSNPQ4HdiINQaQ80pBLYAOTkNzV7XVnoK0VwpuEciWHXy IBN3IZZT74vs6hFbkk3XMr_psxr2h Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Fri, 15 May 2020 19:10:28 +0000 Received: by smtp421.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 066eda7e6dd4a51cab867d14eaeb9270; Fri, 15 May 2020 19:10:24 +0000 (UTC) Subject: Re: [PATCH] keys: Move permissions checking decisions into the checking code To: Stephen Smalley , David Howells Cc: Jarkko Sakkinen , Paul Moore , keyrings@vger.kernel.org, SElinux list , LSM List , linux-kernel , Casey Schaufler References: <158932282880.2885325.2688622278854566047.stgit@warthog.procyon.org.uk> <3999877.1589475539@warthog.procyon.org.uk> <196730.1589561109@warthog.procyon.org.uk> From: Casey Schaufler Autocrypt: addr=casey@schaufler-ca.com; keydata= mQINBFzV9HABEAC/mmv3jeJyF7lR7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3ZPPJXuBokrFH8kqnEQ9W2QgrjDX3et2WwZFLOoOCItWxT0/1QO4ikcef/E7HXQf/ij Dxf9HG2o5hOlMIAkJq/uLNMvABEBAAGJAjwEGAEIACYWIQQL720fVjJTAhDNQh44pRV8jEPI EQUCXNX0cAIbDAUJEswDAAAKCRA4pRV8jEPIEWkzEACKFUnpp+wIVHpckMfBqN8BE5dUbWJc GyQ7wXWajLtlPdw1nNw0Wrv+ob2RCT7qQlUo6GRLcvj9Fn5tR4hBvR6D3m8aR0AGHbcC62cq I7LjaSDP5j/em4oVL2SMgNTrXgE2w33JMGjAx9oBzkxmKUqprhJomPwmfDHMJ0t7y39Da724 oLPTkQDpJL1kuraM9TC5NyLe1+MyIxqM/8NujoJbWeQUgGjn9uxQAil7o/xSCjrWCP3kZDID vd5ZaHpdl8e1mTExQoKr4EWgaMjmD/a3hZ/j3KfTVNpM2cLfD/QwTMaC2fkK8ExMsz+rUl1H icmcmpptCwOSgwSpPY1Zfio6HvEJp7gmDwMgozMfwQuT9oxyFTxn1X3rn1IoYQF3P8gsziY5 qtTxy2RrgqQFm/hr8gM78RhP54UPltIE96VywviFzDZehMvuwzW//fxysIoK97Y/KBZZOQs+ /T+Bw80Pwk/dqQ8UmIt2ffHEgwCTbkSm711BejapWCfklxkMZDp16mkxSt2qZovboVjXnfuq wQ1QL4o4t1hviM7LyoflsCLnQFJh6RSBhBpKQinMJl/z0A6NYDkQi6vEGMDBWX/M2vk9Jvwa v0cEBfY3Z5oFgkh7BUORsu1V+Hn0fR/Lqq/Pyq+nTR26WzGDkolLsDr3IH0TiAVH5ZuPxyz6 abzjfg== Message-ID: <1ca402a1-5665-44b8-ef94-9473ebd6a32a@schaufler-ca.com> Date: Fri, 15 May 2020 12:10:24 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Mailer: WebService/1.1.15941 hermes_yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) Content-Length: 265 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/15/2020 11:55 AM, Stephen Smalley wrote: > On Fri, May 15, 2020 at 12:45 PM David Howells wrote: >> I can go back to the enum patch for the moment if you and Casey can put up >> with that for the moment? > Yes, let's do that. OK by me.