Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1262167ybi; Tue, 16 Jul 2019 12:07:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqx20LQnbgMn/VU1vwifsYlwmW+hKyD7xLSEVAzckPXYu9Renm/QytgtEVXsLcnSq9BheuVY X-Received: by 2002:a17:90b:94:: with SMTP id bb20mr39306407pjb.16.1563304055179; Tue, 16 Jul 2019 12:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563304055; cv=none; d=google.com; s=arc-20160816; b=U4FEJpE9VtC974J7Pk4+ghz7fFx9v3Bvz7eUARfCjrwNJ7sOalLn2LqZ3wWFmsfI+C GsGun07Uz8IydnQGcezPbqZle/Fy7fHFL4S6lKSmH27Rp+YH/4qTOVa7n93Oy5NK3K4p YG0em4hlF/YiJOJ9PiVksg0awR+5dTDFsXHkQAOJ3fos0M4XoJT1ev2wzaEHAVWdlYJF Arwx7qZbQUpLTkR0jUqOcklbkoenOaYzPBYitPlC/heQA7isBFm4gRA4kjDDotGjTNAW haVg27Ea4z7FJ5dSScSQ2BSa7JH0x/tfctq9ToSJ6V3uM6YGOLjwIQ1lIb6EylZBAKGq I57g== 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=LG1qgJpNmSz1iQ9LvaU/8VdF6DJ/KTavEjwp2ttw70g=; b=L/WC+GaSoK+G8hOTSsDHvQBLcJT+241tzNHjrMie/VjS8bHLxbT5bqBv3cTOJMZqBz oIN0RS4GXqxRP8aTS8CTx5fn6uSBzyoxkrReorHnzTslfgfM4ZMagKy3CkYvWoWrTw4w E0ljWeHfhAHthHbJRa2bfDr5xGTxFEqxh2d4+G7kpQWSI+YArjxvG76My0RhMHpPm7ZL sh2hyhcfJ0U5SDTLBwIge7x9ORLsvu3EyknDOzrmscRIgtmg6/YQ028h+i/HVhII7mPe oqrAWUdQZI93bgR+hUaJONdHVq6gYO5cz7CaJPnEuT+crUJLyK40MwEv7TGlZgO/KWmQ eokQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=MwJ2nfHl; 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 d132si20295857pgc.300.2019.07.16.12.07.19; Tue, 16 Jul 2019 12:07:35 -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=MwJ2nfHl; 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 S2388277AbfGPTGc (ORCPT + 99 others); Tue, 16 Jul 2019 15:06:32 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:35835 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbfGPTGc (ORCPT ); Tue, 16 Jul 2019 15:06:32 -0400 Received: by mail-lf1-f65.google.com with SMTP id p197so14527194lfa.2 for ; Tue, 16 Jul 2019 12:06:30 -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=LG1qgJpNmSz1iQ9LvaU/8VdF6DJ/KTavEjwp2ttw70g=; b=MwJ2nfHlclEgRkyb3cO8wydTVc4MkHxq5lpaq+vveKIfNftcJMYxbpp1YoaN5DdVVy Iv7VpTl9fhuMRXW8GqMFmHLv8j+EEvX22qy3iQXAwEJFEsq6eRXCiH6+xf5mxjLOd/sA uSM3b50XkOSu5HmVh63QGVthYBPE2OL0vrEog= 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=LG1qgJpNmSz1iQ9LvaU/8VdF6DJ/KTavEjwp2ttw70g=; b=jiucmckUrgobOOdtFP+FesYKWEb9mlWdCjw4WZzDhIhKs7IegaV1qusgNyPRhdU7ZU coRBHAElGmHFQJkhQWsj9dEDmpeI1zrtNyWXcnZx/mzlh+c8MKVd5G0M3KabCBi4WPVH 1ZNN+gCfwX/CVqtvQrPwO2esz1JuF4ok2GcTECKAbZS5a9Hpc+rF48NiM8QVe+3SF39B 4jZXPUVy73J+kG9Ire9d6fk5HZwad0mxDPknvnwXCW9wt0jnFdQRBaKX5BKbLkPvfFub Rp+HeBE+PbdZPjKydrCl7YDBwYxJxPwzlUKkKWaOVEhyzQ5045qdHQ0XR33Epycq818a 8srA== X-Gm-Message-State: APjAAAWexUsm/G6juDtcBoU79pJGArZum68rLi3BtBfwa3AOBgvBdZRb IkuVde97lM9zI+jOGXRs0z7PM3Kl6yo= X-Received: by 2002:ac2:4351:: with SMTP id o17mr15464638lfl.100.1563303989523; Tue, 16 Jul 2019 12:06:29 -0700 (PDT) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id s7sm3909944lje.95.2019.07.16.12.06.28 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jul 2019 12:06:28 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id 62so9653119lfa.8 for ; Tue, 16 Jul 2019 12:06:28 -0700 (PDT) X-Received: by 2002:ac2:4565:: with SMTP id k5mr15576134lfm.170.1563303988234; Tue, 16 Jul 2019 12:06:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Tue, 16 Jul 2019 12:06:11 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] SafeSetID LSM changes for 5.3 To: Micah Morton 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 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. > 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 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 - don't use a random kernel-of-the-day as the base for development 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". - 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. 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. Linus