Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp726956ybk; Fri, 15 May 2020 11:57:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwr6YzCIB0UV3wSNeiFMvN22wcqltq63RFLddJunKA9iy7/d2Fq0mmur719euuo5Uu8QIPq X-Received: by 2002:a50:ce55:: with SMTP id k21mr4223525edj.77.1589569061490; Fri, 15 May 2020 11:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589569061; cv=none; d=google.com; s=arc-20160816; b=rm/B5Z2C9PRcLsoXh5kBaT79YGG6e2klsUMq1FrNCyNJ8WAEvahrTJfb4wNLSz8bY5 XVf2n/bRZEK6TktCNk5qK1KfJzvWXTZQEnBTKSPX20Kwz7cfOjuDj6RFlcsvKvCvol/B rqnDckry9etg8SfGM3A0RgpEKUWzL0CmkkYHQMHf7eB57o/6CxSquoJG+GVsGRRZ2a5L R1CSUpmldC4m+PRNyjgarWAeX2uZm6+I+dUHrBt+l/mzcLmXY2VukRL9cRtSmKpltn0t YhInBxjRoSlpOsuLT9s+uxQ58l9LpuID2frYHMwtLrDbFeS1Xa5qov3poaFOafbRNRDG 2uCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VvMtgHIRLykxmhWLdZJQYZ0krOC9vXjMfTK6g/AZbUA=; b=oJPD1Eyow6ZFjApxczLQgQn1P5hL4tkRpFcOw2xSTcoLVrJeNZggebQ3q4XygBmz8r DSKJtL6FeSQUXzxoEQzczcYrICI9wF/d+Lxuy8fxNesWqdUHQAu0GbDszPDOuZrPsyZJ ipJJv+Lec+o4qjMDs8eQNRRkdNevj2hY3oUP4Jqmav50ndwGPNC9tDT4NRhLCTeMvWd4 KiwwzZQP7z91fwIUW7XQZ/Xc5BEGNMT2R5EWHM5DelzzWm5WDjEQs6ZWcc5cPHfJ1L3w HJ6BJmWhEkmw2mXuSicIwccLtVlAez/QTL0jlR2RCtKfkSyAPwhhWY0zPe2Yk4biJvda IjIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ErHcxT+m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si1607145eds.325.2020.05.15.11.57.18; Fri, 15 May 2020 11:57:41 -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=@gmail.com header.s=20161025 header.b=ErHcxT+m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726231AbgEOSzy (ORCPT + 99 others); Fri, 15 May 2020 14:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgEOSzx (ORCPT ); Fri, 15 May 2020 14:55:53 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 819FDC061A0C; Fri, 15 May 2020 11:55:53 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id j145so3146940oib.5; Fri, 15 May 2020 11:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VvMtgHIRLykxmhWLdZJQYZ0krOC9vXjMfTK6g/AZbUA=; b=ErHcxT+mAoqp7ksTgGa9KWZE69wefN59b50K++XYxGuilOr/0/UNUbODmS9b7vehP2 GcDlCVyo34Jqu4ZS6FVuMpFADa7ICKUupguIPKLT1kNPfOIxBQ3ZlqH7GQCWd/DjISyi IlZKBpHC2yesBPkDwvGGUPwUQI9eKzkL/oYB8Bskz9ohCXh+LHQe+/4dlNCdrShSoJHn D1qmYBvDpYrzOtki0/3ygKjl7y7uTwPhNAwdF7LKc7uqTd6IjPT3SHMEXKzoqpTqWKPb D+uh1ZiCWOpJsDmfIJ9UfYSr9P+3tR/UdrEZ3KqJiK/o4t7THq8fLqsFSWWotqaFzeMS wK4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VvMtgHIRLykxmhWLdZJQYZ0krOC9vXjMfTK6g/AZbUA=; b=rRRkVWflh3GbOTIWaTHmAw45gVWJaTfxsxeQGLNt+I7WHyH86T+jx1OOpEor3P05Uz 04aoFxVn1HPN+DCYhYOl85EnmQF1s/uULwjXvT5bHlKu0e2+95ZBc/yHQPr9j04mxw+Q QI18nI0Zoby2pu1rMGfTTwYkbC6oMHrXEq/OouL/VaMP6Oxv1Q8EUR0dl0Atyvu2k5UA W33A6oLv8wxLlqXr7wKxcpd/WiHMtmXM1t3Iczdg/BGOPpFU3PNiWW3J8zHSHwefsvIj ++j8YyK9KeRICN0nAOSJqzGn9jycn9nhSzkuVQiEPR4SFVwp/itzeek7MbQLmVUGobdf H5yQ== X-Gm-Message-State: AOAM533dXdc+HE69K6YLUPc0NpDSw7IAOr5eryZP7IMU73u0UYT8Nwkd eYoijmLQCdKaOQwiXtqjC3VFtcwKhiG5SQzu5QRwEO37 X-Received: by 2002:aca:210a:: with SMTP id 10mr3055246oiz.92.1589568952881; Fri, 15 May 2020 11:55:52 -0700 (PDT) MIME-Version: 1.0 References: <158932282880.2885325.2688622278854566047.stgit@warthog.procyon.org.uk> <3999877.1589475539@warthog.procyon.org.uk> <196730.1589561109@warthog.procyon.org.uk> In-Reply-To: <196730.1589561109@warthog.procyon.org.uk> From: Stephen Smalley Date: Fri, 15 May 2020 14:55:42 -0400 Message-ID: Subject: Re: [PATCH] keys: Move permissions checking decisions into the checking code To: David Howells Cc: Jarkko Sakkinen , Paul Moore , Casey Schaufler , keyrings@vger.kernel.org, SElinux list , LSM List , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.