Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4414496yba; Sun, 12 May 2019 12:19:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKDarRukygeco0ogLGx/PC7D+H5PMTmfkqx9Yn7P1qSKn0CvdfiQF6yMbQdFjzc08mY/q5 X-Received: by 2002:a17:902:a508:: with SMTP id s8mr8657567plq.186.1557688762318; Sun, 12 May 2019 12:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557688762; cv=none; d=google.com; s=arc-20160816; b=ll5DK/WwFNptNN+aBZGym11zBhvhOLzK8I3dZUW3zGTozslS2WJg99gvW1m1sV89X9 07mYMhAMYtIr1a3xQArJSZ5wJMOicspw2siE0jEzuZH0ogxoFcGxRuSSPSUqBESIvYVR xwWNekb+bfmTZ+iDjUFuQN9ertsUfmR/V41yZmDeBibgqpJN9anOw3anA5AgK2SlbxAJ P5JqxQ/rNFV2CPcpoyk3EJINENfOesXeKxU4YN2aht2NvQmSVEXwEyl+8f6qpZ9bIno4 wH8ITOUpy0AEEtS5W9rJh+0BqnT9W+211cWhe2C4kek9YNF/fGe4uYoG1S92Fes3FvhD su5w== 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=9MSZEHCyfykuTsR5UxAxvZRk6avmGdIqI2k10oF5oMw=; b=TZZkMdzn3bXn2YO3+7aJiL1Ra7VQWPOsVa/O5E0DVXl4NRsOt+7tq3/xrP637evga7 cjs9Rx/Eyqxr+cbP6N3ZnTz3EycljrlsYlbVZuuYI56Oedsts4d/HoeGcxWotHrCAtyR f2hHBl5daDrsWRziEMmu1xPohHNRKj3/Qc34xvVc5/1yU+3VZMusnmM6UvqjD7hpBq9u +NYD6XvAM5ba0ayMLQh2vyLaQSS1n0kKzIgOekSaF/xWgawpmHuGkp0cfrjD8Bn1xUog cmJqOsyIb7954E1KeUZiF/lWEn7+i3s/IaBlud2Z3GSkaXZqUSb6rFfvsXSEbYW17T/l /AcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KdLaCUwO; 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 g9si15248272plb.38.2019.05.12.12.19.06; Sun, 12 May 2019 12:19:22 -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=@linux-foundation.org header.s=google header.b=KdLaCUwO; 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 S1727019AbfELTSF (ORCPT + 99 others); Sun, 12 May 2019 15:18:05 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:35733 "EHLO mail-lf1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726885AbfELTSE (ORCPT ); Sun, 12 May 2019 15:18:04 -0400 Received: by mail-lf1-f51.google.com with SMTP id c17so111789lfi.2 for ; Sun, 12 May 2019 12:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9MSZEHCyfykuTsR5UxAxvZRk6avmGdIqI2k10oF5oMw=; b=KdLaCUwO/LnM7f3mmNdi0GYIW6HvshB36R3VN3KEhRIHtUcJiw4NQU2ksjWVyAjymH WVbB/8EOAlfLMV2f40L8JX7XSxLrGXh9tPxjQDuO3Awy9DmM1v6TJZmO5L5KI3Rbupw0 BN8jGKNmomo2oxR+K802Q+5y+Pocrj/nXQ0tM= 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=9MSZEHCyfykuTsR5UxAxvZRk6avmGdIqI2k10oF5oMw=; b=djKyMktlvZj+aAiYukS+CuYDw2OBONdFhPA7yP1FgEQBSBHjPBQMpS1amjrBwsvOZf vsCK8MJ0N7ZIPue6lxnT1pP+YtqSvZ3ZdZlJo3iOh1wdsv7zVfRyRkgTXSpvufCaDHXm /eGn6fFEzjEOIvM8Uxepoyd8Fw8UeEl5TzjEchuwYMqHYvnUNGoonQL3uMkAgd27uMIM L9CyfQPI2I5SkmSJDc8sy2cmuT4Tc01kAtLZZEeJVUtPLKizsx/T2En/QOKCgPS9VVXS wEnglDZpJ5EOPqPgAIzmxYtTahlRGbsg/aA+MqRyUzCq+Z+G9tP9GWuf6Mr/u1P5P9XS mhrQ== X-Gm-Message-State: APjAAAX7Qpoh30MRyJ3zBeB604wmpLDc87QPq8PhQiLE466GL9hj5tNl kRtIiusSVhmkg/GBFWnDYpO356wbmfs= X-Received: by 2002:ac2:424b:: with SMTP id m11mr12128729lfl.71.1557688681322; Sun, 12 May 2019 12:18:01 -0700 (PDT) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com. [209.85.167.52]) by smtp.gmail.com with ESMTPSA id q125sm2813650ljb.76.2019.05.12.12.17.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 May 2019 12:17:59 -0700 (PDT) Received: by mail-lf1-f52.google.com with SMTP id h13so7425804lfc.7 for ; Sun, 12 May 2019 12:17:59 -0700 (PDT) X-Received: by 2002:ac2:5212:: with SMTP id a18mr11822328lfl.166.1557688678930; Sun, 12 May 2019 12:17:58 -0700 (PDT) MIME-Version: 1.0 References: <24d602d2-a1a7-7b1e-9035-a2d732cd822b@schaufler-ca.com> In-Reply-To: From: Linus Torvalds Date: Sun, 12 May 2019 15:17:42 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] security subsystem: Tomoyo updates for v5.2 To: Paul Moore Cc: Casey Schaufler , 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 Sun, May 12, 2019 at 11:33 AM Paul Moore wrote: > > As far as I'm concerned, whatever makes it easier for Linus to consume > the changes is the preferred path. So for me it's not so much the pulling itself that ends up being a problem, it's just that I want to feel like the pull request makes sense, and I want to feel "safe" in pulling it. The audit and selinux trees haven't had any issues that I can recall, so that has worked fine. And it's been easier now that most of the security layer things have been coming in separately, so it's easy for me to see what's coming in, when it's in sane chunks that stand alone. And then I also feel like _if_ there are problems in one area, it's not affecting any other area the things are now. So if there's something I want to look at a bit more, I might pull all the other requests that I don't have any questions about, so that I can then look more closely at the part I want to understand better. I basically want to see pulls being "well-defined". That's both in the area they affect, but also in the explanations for the pull request, and preferably really also in the history (ie both the whole "starting at a well-defined point", but also a "history is nice and clear", so I like seeing topic branches and well-defined merges). I guess it's kind of hard to explain, but it just gives me the warm and fuzzies if I do a gitk ORIG_HEAD.. after having done a merge, and the history and merges I see "make sense". Then I feel like even if there are problems with the code I pull, even the problems will hopefully be well-defined. Sometimes that is literally "ok, I'm bisecting some issue, but even before I've bisected the whole way, I can see that it came in through a particular pull request or two" because the changes came in through a few clearly separated topic branch and it's clear which pull request it is even if there are still a hundred more commits to bisect all the way.. Side note: this depends on the subsystem. When I pull huge subsystems like networking from Davem or the big driver pulls from Greg, I don't even look at the gitk history and ask myself "does this make sense", because I have ceded that kind of worries over to Greg and Davem. The history in their areas are their concern, and their subsystems are so big that I don't expect them to make it make sense to me, if you see what I mean. But if you want to see an area where you can see how people have split up development in topic branches, you can look at my "x86 merges", where I get separate pull requests for each topic branch, and they all tend to be very clearly defined (but then there might often a "misc leftovers" branch, or a couple of branches that are just one or two commits). > 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. Yeah, I think that's the sane model. And I think it's mostly been working. Linus