Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1294079ybi; Wed, 17 Jul 2019 12:42:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYPDtiN38A3bcJC6YRnBOmFYT6qm3sRFlqxqCct60aHv/1DoSYTTusxz6Kb7PX6Q2i08lO X-Received: by 2002:a17:90a:f491:: with SMTP id bx17mr47242629pjb.118.1563392569371; Wed, 17 Jul 2019 12:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563392569; cv=none; d=google.com; s=arc-20160816; b=1IXtEjQhClZ5A2cwtNtHR9xbsZfMbVv6YAFD/1ZFolIqtekfPQan717yScls4InE7h lZB8BduCzLITHhx5tucuLGuJcFK3qLTlYe/lGND5JIC42DqgB2/Msqmq53vXThLo1izJ ifQ2NOgp9/IM08FJTJRwFk3yLp10EJ2ujRAS4tlq75oeZgWcVfnyHjCMMNSwJrFOSLrB Hw3mlTtmpBFL94//CFcU0hku4QfQIpUt32NIiVgRz5iQULav6tVcxQZPEjHd3JUKNjWH U0lpGw4pi9hqjSDvBKWw9kP8b5d/TBlT2u85CEJaBF+CAXx4Hdu0ASNHL9sEv5AJFiYc +/Ew== 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=XAQtje3xVN6zZLKy6FtX6fqxZEG02C3KM1K/siGiaSA=; b=KpwLp7jJu2BaOCf00HD+yC4EkOAmiDWUZ6/jkp2jNGvbaeqZVstP/t62W+TeK0hg4N C36zLu8j2RNYo0TNX9BBXWLvn0gFmYPCQ8p5U/KhFHgIPK3q6AwysASOMg0HxYQ9trsb wwKWShAXlkqeNLeseManaQeW7blpdEdM0hxaiPV0RKDbElCVzHXS6VbTmYYrcNADwuIm ycKZ5IAEoOBi5btsY3GmZHnzSNpj3wjVBVPvmpuwWfD1aNkZTv2LHvQzdUA7WhJnkccv zZ+bTWlMDcsJnRXCfwW1ADYA/QsMwD9A8uXj7mWyCPTO4LVTe68+HJ+mxjkl3PV6MEru GGag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bHCNywbz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22si25589161pfn.118.2019.07.17.12.42.33; Wed, 17 Jul 2019 12:42:49 -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=@chromium.org header.s=google header.b=bHCNywbz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728463AbfGQTkY (ORCPT + 99 others); Wed, 17 Jul 2019 15:40:24 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:37335 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727639AbfGQTkX (ORCPT ); Wed, 17 Jul 2019 15:40:23 -0400 Received: by mail-io1-f68.google.com with SMTP id q22so47659811iog.4 for ; Wed, 17 Jul 2019 12:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XAQtje3xVN6zZLKy6FtX6fqxZEG02C3KM1K/siGiaSA=; b=bHCNywbzSvGNmK04BmApUcFx7AMqaedW7Zel4ghELj6QbEmXuXzUChsPH+QxBVfA3z olV9YcAX8TDIJ33/HFEQ/AeQECmLX0mC2NuJqR3HMRpVb/P+blQWSVkljvUfxM/ESu31 +WIOCxWFbnGp0f3ZpPfenEr6bIllItN/1AdCU= 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=XAQtje3xVN6zZLKy6FtX6fqxZEG02C3KM1K/siGiaSA=; b=YZiVzs3LidiH0ilkT7+l0qtHQK+n+YxPrKcBIcDcuOenearc7KUohtjA9/0SoH6bit Vr1Lzz8CV9q9ah3sUhI/nWfXyyCyeDk8R0mcXpvD7y+ueUDYq9MN3FR3zCd6JHqzMupD ISS2ffSWV5zTIwDMZGZ6mt3U2Av4PmB5pioCR5OjComsIFS0MyVUHh4801BKuj76MZ/P LOudeXESBCW5xMVlImI2usLfrRodEdumqtVXeacAxmYsJxI8iYi3CYJurGb0hs1kV706 FAyU7qd9GnbZ6q93zpI2PpAtL528nnaA8c/X7uopvLuLasEzSnihhjPC4vDMpuYoAcG1 hACQ== X-Gm-Message-State: APjAAAVAun4JzRPgV3ltJrLElgViu76I1pM2to0Z3V/ns78hapk5jcsr ePWjRsqJZNJdnVVYqZdIv9biRBhRsfFuEHXQjVmKQA== X-Received: by 2002:a6b:f816:: with SMTP id o22mr12316181ioh.166.1563392423109; Wed, 17 Jul 2019 12:40:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Micah Morton Date: Wed, 17 Jul 2019 12:40:12 -0700 Message-ID: Subject: Re: [GIT PULL] SafeSetID LSM changes for 5.3 To: Linus Torvalds Cc: Linux Kernel Mailing List , linux-security-module 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 Tue, Jul 16, 2019 at 12:06 PM Linus Torvalds wrote: > > On Mon, Jul 15, 2019 at 9:05 AM Micah Morton wrote: > > > > I'm maintaining the new SafeSetID LSM and was told to set up my own > > tree for sending pull requests rather than sending my changes through > > James Morris and the security subsystem tree. > > Yes. It would be good if you also added yourself to the MAINTAINERS > file. Right now there's no entry for security/safesetid at all. Yes, I have a patch for this but was told it would be better to send the patch through my tree rather than the security tree. I can send a pull request for that. > > > This is my first time doing one of these pull requests so hopefully I > > didn't screw something up. > > So a couple of notes: > > - *please* don't rebase your work in the day before Got it. > > Was this in linux-next? was this tested at all? Hard to tell, since > it was rebased recently, so for all I know it's all completely new This was not in linux-next, but was tested by Jann on a Chrome OS device. There's also the selftest for this code. But I can send non-trivial stuff to linux-next first next time. > > - don't use a random kernel-of-the-day as the base for development Got it. > > This is related to the rebasing issue, but is true even if you > don't rebase. There is no way that it was a good idea to pick my > random - possibly completely broken - kernel from Sunday afternoon in > the middle of a merge window as a base for development. > > If you start development, or if you have to rebase (for some *good* > reason) you need to do so on a good stable base, not on the quick-sand > that is "random kernel of the day during the busiest merge activity". Makes sense. The development was not actually done on that kernel, I just grabbed that random kernel for committing the changes on top of (these changes were developed a little while ago, but they're all self contained to the SafeSetID LSM), but I'll pick a stable one next time. > > - Please use the "git pull-request" format and then add any extra > notes you feel are necessary > > Yes, your pull request is *almost* git pull-request, but you seem > to have actively removed whitespace making it almost illegible. It's > really hard to pick out the line that has the actual git repository > address, because it's basically hidden inside one big blob of text. > > I've pulled this as-is since it's the first time, but I expect better next time. > > There are various resources on some cleanliness issues, and people > fairly recently tried to combine it under > > Documentation/maintainer/rebasing-and-merging.rst > > which covers at least the basics on why not to rebase etc. Thanks for the pointer. I had not seen that yet. > > And if you *do* end up rebasing, consider the end result "untested", > so then it should have been done before the merge window even started, > and the rebased branch should have been in linux-next. And not sent to > me the very next day. Yep, makes sense. > > Linus Thanks!