Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1079464imm; Wed, 13 Jun 2018 12:59:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK7lnu+2dVSqfny0sTwIbW4wnkT8y/2m5JzjccSs1mIVt5XmsbfriChI/QrkAZCBtFEQHEO X-Received: by 2002:a63:2f04:: with SMTP id v4-v6mr5121844pgv.33.1528919974374; Wed, 13 Jun 2018 12:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528919974; cv=none; d=google.com; s=arc-20160816; b=bapePHm1zRfMSkzZMFTa2Oxo+QJpClvGFEppZFLMRcXxQ0ijE1q0fOq8SY7XtnBAS7 saiLhCVhY55CRohxtXZYXEAxT3Gk3qiHd+7KPegTFzQbuYKXIiNpm81cGuqBYMYOsedi UMCBufTEO8A+wag7H9h/o+0Mu1YhQF8HBuR89OYoKCck6W4VoRwp3u08cskhhU345s+6 zjZgrcNZxKg5THzvNtGUV/uXPOg8FugbeINZ6S2jzqKKKVgaESz49pATEQphE7VC4CTc Ky2s+k+Jhxqe4yYPP/Q8rHDdEww9uoaFo/YotES/cqmgm+maDGWIkU0MBvIWzFi6KJVU eP7Q== 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=WfAXGTm2ylYuYbe7b1X3YHQXpgN/mAxOS+08JLdlQjQ=; b=mX3GNkxE7IGlo9efyPN5T0MOPzSan3T5ffAjUul5aBmkAq5z8N0ykWYiXCcsIDU0YY XYOalMn/ki+aVEjgweu5NQD9aIPSEqVGRuIQU22tuxqRBwGP8SAIm1TN8+nKJFJCFU5/ Ia5yjRd/xQWmE061LEgPzeJsHulROlpJNZjQvZonaIfwWIAJK7qX2Mn09+whHDRsiBq3 HnQuhlt/CfzIQkG8xrUz4uahKT5FPyHOdgalRy8IhHJcthV9PKSMLvWqkUxBLq+eQ+/P P+5gE8n3ULyylsOiAbtkIdLBqWIOa8WVorFboFL4tXz1QxlPoT9pM4pIk8XRvCQces1L 0a/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=1Kjf8xrV; 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 b67-v6si3721430plb.272.2018.06.13.12.59.19; Wed, 13 Jun 2018 12:59:34 -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=1Kjf8xrV; 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 S935626AbeFMT5f (ORCPT + 99 others); Wed, 13 Jun 2018 15:57:35 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:37627 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935502AbeFMT5c (ORCPT ); Wed, 13 Jun 2018 15:57:32 -0400 Received: by mail-lf0-f65.google.com with SMTP id g21-v6so5828521lfb.4 for ; Wed, 13 Jun 2018 12:57:31 -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=WfAXGTm2ylYuYbe7b1X3YHQXpgN/mAxOS+08JLdlQjQ=; b=1Kjf8xrVFlXG4ieMLJ5MMY6GCXKPodyBL79RKaX1arfYSJ4Srwk0eCFAPut1FAP+tp 9rpj56PPIPKnHd37HXjXtTJv4Du5WRyagl7GBCNCxYOVq5NA/R5xVw0TylCL1O7q6u9J tN7KqcFwJCMMs1htJbT+qIcn6BWaAR1ygo/V0cF1oW08z70CPoVvceu5dAEpwz7yTBPY i2ar85SEJtaqNuS5Bly7LIU9NCsCuh2RTK2/PhuZQc9YBH7N1EXh/4BuJtaPJEm3Wnuy TCk24HfE601ukJ8ye87fRYf2RZULSRVuo4ZPi5zPH1dopNp1B4aRvrs4FxVhw0TRL64f e7nA== 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=WfAXGTm2ylYuYbe7b1X3YHQXpgN/mAxOS+08JLdlQjQ=; b=Lg1Hl3Vd00f/XJYJgJqdppT1KNt5r8rP5hs/OVGftn/tq1khUdT0wIqydP7TeAAW9d klO2cghjKmoPL+Rhhrbc07Mm0uXrO51LAJfQm6A84c0JOK/PWN9/XaW/0yZF2YbpHUKb eLUj46jJRI6XACVqONfWIWbRihoZDQVvC6DkoMAUS7PyA4r7SNsLFlvyfmk4k+twFtB6 okZGgOxhJEXcHqf7pGcNUhvPO/xSzz3l4tmRd4bfzGrJaU7iV6wFWT2s0EGcZTqe4y+j tD7GUvCg61/K9biRLwaR+Vt6l5uuSk9TxQxu8hEVbNUZFbVeBjjhRtReuVnlTmDm/s0W YaCg== X-Gm-Message-State: APt69E1hBndDIRsF6PHxiAe3+WskBUvUpFD1LcE5x6wEBqh3nXHCB3fI hqCRbARgOi9pdWhINn9j42tdNc9Yxqva71H27Lhl X-Received: by 2002:a2e:29cf:: with SMTP id p76-v6mr4196531ljp.12.1528919850356; Wed, 13 Jun 2018 12:57:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:a911:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 12:57:29 -0700 (PDT) X-Originating-IP: [108.20.156.165] In-Reply-To: <38670733fba157f7acd9c1555b44a296420f0774.camel@perches.com> References: <1e91f8e10ce76d3208239b6b5899aab76d1543ff.1528743633.git.joe@perches.com> <3d890108a942b6a3fb9a5326501174af270707dc.camel@perches.com> <00961ef3fb41930a3304da935f1f73ebe386e83c.camel@perches.com> <38670733fba157f7acd9c1555b44a296420f0774.camel@perches.com> From: Paul Moore Date: Wed, 13 Jun 2018 15:57:29 -0400 Message-ID: Subject: Re: [-next PATCH] security: use octal not symbolic permissions To: Joe Perches Cc: James Morris , Casey Schaufler , 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 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: >> > > > > Joe, in general I really appreciate the fixes you send, but these >> > > > > patches that cross a lot of subsystem boundaries (this isn't the first >> > > > > one that does this) causes unnecessary conflicts in -next and during >> > > > > the merge window. Could you split your patches up from now on please? >> > > > >> > > > Sorry. No. Merge conflicts are inherent in this system. >> > > >> > > Yes, merge conflicts are inherent in this system when one makes a >> > > single change which impacts multiple subsystems, e.g. changing a core >> > > kernel function which is called by multiple subsystems. However, that >> > > isn't what this patch does, it makes a number of self-contained >> > > changes across multiple subsystems; there are no cross-subsystem >> > > dependencies in this patch. You are increasing the likelihood of >> > > conflicts for no good reason; that is why I'm asking you to split this >> > > patch and others like it. >> > >> > No. History shows with high certainty that splitting >> > patches like this across multiple subsystems of a primary >> > subsystem means that the entire patchset is not completely >> > applied. >> >> I think that is due more to a lack of effort on the part of the patch >> author to keep pushing the individual patches. > > Nope. Try again. > > Resistance to change and desire for status quo > occurs in many subsystems. Which gets back to the need for persistence on the part of the patch author. If your solution to a stubborn susbsystem is to go around them by convincing another, potentially unrelated subsystem, to merge the patch then I firmly believe you are doing it wrong. >> > It's _much_ simpler and provides a generic mechanism to >> > get the entire patch applied to send a single patch to the >> > top level subsystem maintainer. >> >> I understand it is simpler for you, but it is more difficult for everyone else. > > Not true. I think we are at the agree to disagree stage. The way you have structured this patch it makes it easier for you to submit, but makes it potentially more difficult for me (likely other LSM maintainers too), the -next folks, and Linus. > It's simply a matter of merge resolution being pushed down > where and when necessary. > > See changes like the additions of the SPDX license tags. Please don't even try to suggest that this trivial patch you are proposing is even remotely as significant as the SPDX change. There are always going to be exceptions to every rule, and with each exception there needs to be a solid reason behind the change. The SPDX change had a legitimate reason (legal concern) for doing it the way it was done; this patch isn't close to that level of concern. >> Further, where the LSMs are concerned, there is no "top level >> subsystem maintainer" anymore. SELinux and AppArmor send pull >> requests directly to Linus. > > MAINTAINERS-SECURITY SUBSYSTEM > MAINTAINERS-M: James Morris > MAINTAINERS-M: "Serge E. Hallyn" > MAINTAINERS-L: linux-security-module@vger.kernel.org (suggested Cc:) > MAINTAINERS-T: git git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > MAINTAINERS-W: http://kernsec.org/ > MAINTAINERS-S: Supported > MAINTAINERS:F: security/ > MAINTAINERS- > > 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/ That is a good point. I'll put together a patch for selinux/next as soon as the merge window closes. I'll let the other LSMs do as they see fit. As I said previously, I believe the only other LSM that sends directly to Linux is AppArmor. -- paul moore www.paul-moore.com