Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1153168imm; Wed, 13 Jun 2018 14:23:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJu2OYLT7fHqsXoiDC0hlU9KxrmssuBfSh8aelFRy/FHfGlXVHOrBlOsHsZMG2JuU/sNZBG X-Received: by 2002:a63:6105:: with SMTP id v5-v6mr5314893pgb.299.1528924993168; Wed, 13 Jun 2018 14:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528924993; cv=none; d=google.com; s=arc-20160816; b=vfWXJbmHCiXZFlUh3f1HmUPTJ+L3xpF8XHIaDRJK7Ad4Fp7Ou5I4VIZpOkYozmoRe1 J4v8emAY/73TsMgyAnS15CwBrWMYnj98oSYOoYqL+yJXe5l4DIFle712ESCVktpoI3t7 o7+NfjTptoft3UujQ2NzG8uSbWjw7bJA5LEwqTzViw6qa4uLUcU7H2Ld0w3ClnAMU7uM 5FLQqwhyQ01sCXTVH6Ob0JR2gDqzOUytwIdhRzX1Ok+jTBjw2lQW/p8LdzSDaqbD0M4Q DmJkWNcYLHv7HX1AqlIiMjvofb6hpEIPflzj15ZeQGG78cxFFumLj2vDTb7F6N5c6G2K Rk6w== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=G7aRMKbsemighwGV3SYZAmJGd2MsoJ03kXKpz5fSoeg=; b=ozzwoGMMuXyF8JSG1H9xXeexI5SWt52y93VGZ0HtNrpybOVlhM2cZOQLN9+4THiT6u SfEjcXljxOrARjC8t+h4EcdyEf/CmQ/o6vh8Lsx/pq9al4JIoXB4MVQSNvuHFOKThqAs n1pakV3JyVALKELOMoUkR1+J/Ge3URo/tzkbIi1YisQytHn8VucdejyXMvlp9oLCzN6K timtksZahXmzLUbDpWrNtg7np934Rik4ooaY0urjrv2jiO8B/sA4TN7Kk6eXjnwSNIJm jzqf8cP345Um64E0m38skBw0ZChKwWiS4JwtwXZGhRxAGFOAnuwbKBaCYkOJL45ZIaq5 wwxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=BRtLKlvM; 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 o61-v6si3652453pld.109.2018.06.13.14.22.56; Wed, 13 Jun 2018 14:23:13 -0700 (PDT) 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; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=BRtLKlvM; 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 S935608AbeFMVWV (ORCPT + 99 others); Wed, 13 Jun 2018 17:22:21 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:32959 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbeFMVWT (ORCPT ); Wed, 13 Jun 2018 17:22:19 -0400 Received: by mail-lf0-f67.google.com with SMTP id y20-v6so6171027lfy.0 for ; Wed, 13 Jun 2018 14:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=G7aRMKbsemighwGV3SYZAmJGd2MsoJ03kXKpz5fSoeg=; b=BRtLKlvMEIXgUpdydD6f2tUDzf4LlCYIVIJ5rpsgtzX9SIMhaYBqU6n4a2uAqAXBhH RFswUqHdd2HxzE+eJIFnTg8ekH+fvvGh3vklb1CwbEHpjKHa0hq4AOe8jc7wLuTnINYx zmvHYIlPlZQN/RXP1Co+tOn4s02NGj/DBney5VaIiNc3XLe96Br+z+wWi+DNFOyFGUQF Ayp/23Ohcygb0eEKmTA1ocN7m3PQCuJXfbhEzB4SbMfF53TAvre013HuZXFpbfoZCiUY XF+YId0k6v6paAyieOIQmt/a/T/GNQ5PQ18zFH8eUZ4HImRzr62UlGC7b2OdhY7m2IND EKGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=G7aRMKbsemighwGV3SYZAmJGd2MsoJ03kXKpz5fSoeg=; b=WIDgFh+jWPeWU6/9Xhnin4VT+Q2xPhgHoknLeBO2SiN9ZgYtqUYLcwZQK5vJrTJGI1 NbhLbLLm7LmoJDoS8Xf9LIZkWlnmykk22e/JET4RJfPEXDBHhXFWg7PE/+unbSZ/vHZ1 tXWVTLj9M/LWsWD4S0fFjU1gDY9OlmU8ip+5+nAKWqwiRWE7Gt6Uu2xIAY4Qm0u1c7vq IMybyNvlumEbbmJaySMVIU48MutFdsWxRZD1CAlVvbyAbxwgZOSgLjjPUikW64weB28D iabgCvrTkT52nh+fOkZwo30tTqDOsJN/yTUJPR5H14le3a8PdIGValx3ijjhygh1hGMJ 3gQg== X-Gm-Message-State: APt69E3MGpL1hrF2V/BHQ/rRSj8kwJf1e8+HpW5byoo6kKm54rm2BQlL Ow9pxfEi3/vCQaOfv4tY7gPb58SsGyXDnlWYuZqP X-Received: by 2002:a19:d245:: with SMTP id j66-v6mr4353168lfg.139.1528924938062; Wed, 13 Jun 2018 14:22:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:a911:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 14:22:17 -0700 (PDT) X-Originating-IP: [50.252.214.51] In-Reply-To: <1adae238-44cc-83f5-538a-1b9c12916875@schaufler-ca.com> References: <1e91f8e10ce76d3208239b6b5899aab76d1543ff.1528743633.git.joe@perches.com> <3d890108a942b6a3fb9a5326501174af270707dc.camel@perches.com> <00961ef3fb41930a3304da935f1f73ebe386e83c.camel@perches.com> <38670733fba157f7acd9c1555b44a296420f0774.camel@perches.com> <1adae238-44cc-83f5-538a-1b9c12916875@schaufler-ca.com> From: Paul Moore Date: Wed, 13 Jun 2018 17:22:17 -0400 Message-ID: Subject: Re: [-next PATCH] security: use octal not symbolic permissions To: Casey Schaufler Cc: Joe Perches , James Morris , John Johansen , Mimi Zohar , Dmitry Kasatkin , Stephen Smalley , Eric Paris , Kentaro Takeda , Tetsuo Handa , "Serge E. Hallyn" , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@tycho.nsa.gov 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 Wed, Jun 13, 2018 at 5:14 PM, Casey Schaufler wrote: > On 6/13/2018 12:57 PM, Paul Moore wrote: >> On Wed, Jun 13, 2018 at 3:30 PM, Joe Perches wrote: >>> On Wed, 2018-06-13 at 12:19 -0400, Paul Moore wrote: >>>> On Wed, Jun 13, 2018 at 12:04 PM, Joe Perches wrote: >>>>> On Wed, 2018-06-13 at 11:49 -0400, Paul Moore wrote: >>>>>> On Tue, Jun 12, 2018 at 8:29 PM, Joe Perches wrote: >>>>>>> On Tue, 2018-06-12 at 17:12 -0400, Paul Moore wrote: ... >>> If James is not approving or merging security/selinux or >>> security/tomoyo then perhaps the F: entries could be >>> augmented with appropriate X: entries or made specific >>> by using specific entries like: >>> >>> F: security/* >>> F: security/integrity/ >>> F: security/keys/ > > There are already F: entries for security/selinux, security/smack > and security/apparmor so I don't get your point. Perhaps I've interpreted this the wrong way, but I took this to mean that those security subsystems which don't flow through James should use the X: entry to exclude themselves. For example, here is a quick diff to exclude SELinux: diff --git a/MAINTAINERS b/MAINTAINERS index c13b9fb3be0b..dc0b31121459 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12771,6 +12771,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/g> W: http://kernsec.org/ S: Supported F: security/ +X: security/selinux/ SELINUX SECURITY MODULE M: Paul Moore -- paul moore www.paul-moore.com