Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4259777yba; Sun, 12 May 2019 08:35:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqysMheY4pIzh05s9hdfa3DsfZRSIQVTJ/LfffFglX6b3f0FNs2wrIqmgLbvm6DpJ5tzrvS8 X-Received: by 2002:a62:6c43:: with SMTP id h64mr27943809pfc.5.1557675314413; Sun, 12 May 2019 08:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557675314; cv=none; d=google.com; s=arc-20160816; b=K6jkOtThBEJuiElX/gDbhn2/M1S/LIEw4KZSOpp7txSvIvT++t0QhcaoQzlicKbEQV KCeNThWGHA8UeedgwDj1abuodTh90Yy9mcsGuz6dNuDwdXdmmGoRdwkdYL5GCgyS9F3c 13rM+3gTSP0+m2Axz1GYt+0AoeAf6GL4+f/iU+sQh4yArQedwOSkF+FeNvcOLdFp1AVd iM449nKkXQvQEPUl0zlqjtYy7XNJtcKVujabzlDLa//+FRkDYXDeK7fY+fkSFxSEy0z8 VhC40EQ5UttYa1Y/WTGDHpKNroWPXRPWlxmE5nMlbCfOTwmf1e+Am+qJjyQcqlXiDY4T 0lew== 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=9r+ZomokzdXWblU1eNUZVwuwrP8R96EBwqrRjwYeKr4=; b=Yd67z1xo/p2FyABmLrP5v29+XFYUJELfhgooOmPrvBvOseHpL4XW61Lyw88cHEh/DG sD5VZJHbTP51c8f1QYINhwBByvWFWF7frSdksv+EvAGW668RRDhwbNqSjzDXEnsxqF+/ v93wIKxCH+D4O6tKlePb/FNsY91aCV5zlmseodcDm1fwJCo7NdTB707N1MddwIzuLFvN v0a/5Gy0dYMV678uCENbbEIIGTpc/Wm0CHP5eHuxAPxjeFfzgWMARzQ6/dsrlWKnx/Lf us+JDz5yY70qhoXwrMYSp7a9fn1+mY1LzxmTkzna+URkj/b7vqKhzTwzn1XUZBqvyVDt rpxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=c3yr7vG4; 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 f10si6524002pgb.464.2019.05.12.08.34.57; Sun, 12 May 2019 08:35:14 -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=c3yr7vG4; 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 S1726761AbfELPdf (ORCPT + 99 others); Sun, 12 May 2019 11:33:35 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42397 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbfELPde (ORCPT ); Sun, 12 May 2019 11:33:34 -0400 Received: by mail-lf1-f66.google.com with SMTP id w23so7233349lfc.9 for ; Sun, 12 May 2019 08:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9r+ZomokzdXWblU1eNUZVwuwrP8R96EBwqrRjwYeKr4=; b=c3yr7vG4M7K5xO6VFHElKBbxnn1f8y+/R859KR3R4Q+eCCRf6i7FQqjUJtXERqfS8L pZeqSaQQEtfvETWFk7y3oV10tk7gRfI+ntCJWymwSEeYX31EkK3waAQgqhz7Qmr3hIfZ Gf4R79gUSgSa8xWSkRlzEi6uQZsEHqFkGy4hl6o/btTquMqgVKrwAxiC5OMkOMpXat+i xtRqbuHzfK9Ltsi9Sl5U1VhnmyAwspJ7DStrK5ccV2gMudTyhVMSSKebpheGWu/I6Uyp IhnuMDvXTgsx+oukCOK7Q0d3j2+wWtbhjbqKJPnkobfHFxk16vI3IK5sQTaPGXBd5Hkt s9ug== 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=9r+ZomokzdXWblU1eNUZVwuwrP8R96EBwqrRjwYeKr4=; b=p5DUaV7/K33yPNSprORsZnt3J0Qevs6omNG2KIImMmwj11XCYr0ZISoKK92XbLHk+T Ge+XFrnFpNQUGWaqhIWORKgpiQx98+AX1GN0BK2bAf9ZWQfYFhxrf/E478XA2U6kMA4P 5in5kQpBHttv/WBJ/R/fNq1HTL3gzrN2e3Ggo0+2QHyMimsqxro1r3xVHkEZ/eAk66se bn77969diTQLviiBf3QAx1c7v879Gt+6EQVWlZt6YEND8qLXVbsQ70LnEnFC4u/F9Gr+ bxuNQtitGltcsiuFFlve/mNzp6IbLdlL7WSX9rh2k4nPmfpmBb26CmgJckIFVERgRqy7 CySw== X-Gm-Message-State: APjAAAVcoAB9MadaaBncl2LZ0okO0xTAORY9UtpgP5Fba90olk6reeHK BhB9FpH4SI3XVlU4hD0yTrsal3bLL3YKZsG7YLiR X-Received: by 2002:a19:c394:: with SMTP id t142mr6613263lff.102.1557675211836; Sun, 12 May 2019 08:33:31 -0700 (PDT) MIME-Version: 1.0 References: <24d602d2-a1a7-7b1e-9035-a2d732cd822b@schaufler-ca.com> In-Reply-To: <24d602d2-a1a7-7b1e-9035-a2d732cd822b@schaufler-ca.com> From: Paul Moore Date: Sun, 12 May 2019 11:33:20 -0400 Message-ID: Subject: Re: [GIT PULL] security subsystem: Tomoyo updates for v5.2 To: Casey Schaufler Cc: Linus Torvalds , James Morris , LSM List , Linux List Kernel Mailing 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 Sat, May 11, 2019 at 6:08 PM Casey Schaufler wrote: > On 5/11/2019 11:13 AM, Paul Moore wrote: > > On Sat, May 11, 2019 at 10:38 AM Linus Torvalds > > wrote: > >> On Fri, May 10, 2019 at 6:09 PM James Morris wrote: > >>> These patches include fixes to enable fuzz testing, and a fix for > >>> calculating whether a filesystem is user-modifiable. > >> So now these have been very recently rebased (on top of a random > >> merge-window "tree of the day" version) instead of having multiple > >> merges. > >> > >> That makes the history cleaner, but has its own issues. > >> > >> We really need to find a different model for the security layer patches. > > > > If it helps, the process I use for the SELinux and audit trees is > > documented below. While it's far from perfect (I still don't like > > basing the -next trees on -rcX releases) it has seemed to work > > reasonably well for some time now. > > > > * https://github.com/SELinuxProject/selinux-kernel/blob/master/README.md > > On the whole this looks fine to me. I am less comfortable than Paul > is regarding changes that happen elsewhere, so I would be more likely > to base in the rc-1 than Paul. More developers test with SELinux than > Smack. I am in the process of putting an appropriate GPG environment > together for 5.3. I share your concern about external changes outside the subsystem breaking things; this doesn't happen all that often with the audit tree, but it seems to happen every couple of releases with the SELinux tree. This is one of the reasons why I test linux/master + selinux/next + audit/next every few days, if not more often (see link below). I've found this regular testing to be extremely helpful, and if anyone is interested I'd be happy to help you get something similar going. * http://www.paul-moore.com/blog/d/2019/04/kernel_secnext_repo.html FWIW, the reason I don't like basing against -rc1 (or any -rcX tag for that matter) is that the -rcX releases tend to be buggier than the "proper" releases. However, in practice I find myself basing the selinux/next and audit/next branches against -rc1 almost every release now; the rate of change outside the subsystem trees is simply too high. > The LSM infrastructure work I've been doing should still go through > James, as it has global implications. As far as I'm concerned, whatever makes it easier for Linus to consume the changes is the preferred path. My guess is that you are right and any *significant* changes to the LSM layer itself, e.g. security/*, is best sent via James' tree. For smaller changes to the LSM layer I think it's okay if they go in via an individual LSM tree so long as all the other LSMs agree-on/ack the changes; which pretty much fits what we've been doing for some time now and it seems to work well enough. -- paul moore www.paul-moore.com