Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp418643pxx; Wed, 28 Oct 2020 07:57:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6/nbdOfyA1/Qk6FjegAF3KAzCGEnLvVUD5DN4YIO58XpMvN/GZC8hQDpUZPHZPVKVWf9A X-Received: by 2002:a17:906:329b:: with SMTP id 27mr2322467ejw.329.1603897045246; Wed, 28 Oct 2020 07:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603897045; cv=none; d=google.com; s=arc-20160816; b=KywyvlZyaE30oTVM3mupgpxEZBz8yXMu7VGnrzLyorho1X37V7PQB2Zo/UG00R8W52 UqjcAL9//cAH8q3FgE3ac/zANeh6CyTprtTYmbqruA5BTal45+G9z1qDduVa7oVsco3i nrWjZc8MUHQLrYHNYtZVHVkH4nJe+8CDrByNrDdmKBzBlI88Gv+OQ2LQRBXaZ+gBqyb5 5Z83zqmNG3lPvNaIvOK+FRjuchP8Rr7fpSbtqj6IeegbIHlkcG6hU/d8YSHU3UWgr8g6 fg2DBn4Mr5QRrCK5KakEWeHK60Mw9roFe8mNc0I/FiajrexxMKqfEjYA2xx7iFMy6Uqz cwKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xTfr4BhZoASi4sNuvBGDS4PrD9yz2mHwzFOcyGNrbuE=; b=ckGiJo7UHgjLMqZmueigGfK6dLye5cCU07NpCNr9xPtmTeV5HvxhpEA5RqcHu1G9Qx FT4xKvKFcfL+oF4pVDUzfpgLHv+KkYjAvYoHsuW9magddPJjAylyJqV++xvIruqeQ3WH iG5xmgfgBP0PPf4mjqXExPv42S1I6OcZgrLyhricKunqyoCH9+lRKVZGPrGf37JCFQ/S Zk6lkf/33khIGEUzCCLLv86yND2IAE0i2MJmx6TO4JjG8foa61puUW2Ua8OYmtHy+Sa9 vtRQnJL9IbOxhoF3K5m+FVWVN8B/69ef6vu96IiIX4BZQISXZh5dhsefyCOsuPE5K3XP ewng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CG6KmF8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o10si2705925ejr.482.2020.10.28.07.57.01; Wed, 28 Oct 2020 07:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CG6KmF8i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2506986AbgJ0QQf (ORCPT + 99 others); Tue, 27 Oct 2020 12:16:35 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:35067 "EHLO mail-ej1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1807781AbgJ0QO5 (ORCPT ); Tue, 27 Oct 2020 12:14:57 -0400 Received: by mail-ej1-f42.google.com with SMTP id p5so3071277ejj.2 for ; Tue, 27 Oct 2020 09:14:55 -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=xTfr4BhZoASi4sNuvBGDS4PrD9yz2mHwzFOcyGNrbuE=; b=CG6KmF8iWDTGQPhNlTROZ67H7mOeNO9xa2NDY20tknx8+WkX3f40qB/TVD4dHr+N/e Ly4lmr/7Ae7D56Y2xJFHrYG7iDZOI1kYAfUV+v3OuImVgmwIqQCFBNNDBlEMDK5MJIIi kIz1/bnZuCukWcs/wXSvjMbm+1+GsFn7Upc6A= 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=xTfr4BhZoASi4sNuvBGDS4PrD9yz2mHwzFOcyGNrbuE=; b=cka4KTK6GGmqavkG1ReTm8x7+a4t3rMHcO6n9fZ1aA6EOdg/uS24WNRD8GQdUdxNkg Uvl+H/IMA0RM6zO6oLQUDJ62w19J5cTpa8kcPdBv9rWiTd9TwNrpqJI1OfzUi+UcSk9f QPAUbl/CsHYf2L9v4evWNXorFmKaxzlvp2UbjXjK91DUSR1p7Q3QVsKJYmRnBDzcn3K/ K6R4o9AixHywiwfaSXFZCzFr4HMdzYWfDcJFyee8YahoROvsMCByRViwUDSChj7Z4kvH f5FGg1xJjlnNaZIOvxYAYj0l8K7aHgR8pJtzfYEBr7xvRGia6v4tHFsbpES/DXtFOKSs anGw== X-Gm-Message-State: AOAM5339fNZAfyr2giB7mDH0pqCOtpG7yMs7aAS42eJFqsvTIi+T9crF g2IOzXU4LOLXVQQl69l91cDsYOq+xhKWV8S9zSgKMw== X-Received: by 2002:a17:906:3541:: with SMTP id s1mr3246257eja.413.1603815294129; Tue, 27 Oct 2020 09:14:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Micah Morton Date: Tue, 27 Oct 2020 09:14:41 -0700 Message-ID: Subject: Re: [GIT PULL] SafeSetID changes for v5.10 To: Linus Torvalds Cc: Linux Kernel Mailing List , linux-security-module Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 25, 2020 at 10:54 AM Linus Torvalds wrote: > > On Fri, Oct 23, 2020 at 12:15 PM Micah Morton wrote: > > > > Ok so before the rebase ("reparent"), the commits were based on top of > > some commit that was months old at this point (can't quite remember > > now, I think one of the -rc's for v5.8). > > Nobody cares if the old parent is old. In fact, that's usually a good > sign that the code has had testing and is changing things that aren't > in flux for other reasons. Ok thanks for the explanation, I think this was the most important piece I was missing, but makes sense now. > > It's often a good idea to make a test-merge and verify that things are > ok, but that's for your _personal_ verification, and shouldn't be > something that anybody else sees. > > And even with a test-merge, it doesn't matter if there is some simple > conflict - we have those all the time, and conflicts aren't bad. In > fact, they allow me to see "ok, things have changed here in parallel", > and I'll be aware of it. > > The main reason to rebase is if things have changed _so_ much that you > really need to re-do things, or if there is some major bug in _your_ > branch that simply needs to be fixed. Yeah sounds good, I'll just get in the habit of doing a test merge and note in the pull request whether there are any conflicts or not. > > > So I had basically considered it > > a no-op rebase. I probably should have explained this in the pull > > request. > > If it's a no-op rebase, thern DON'T DO IT. Really. It just means that > now you have lost all the testing. > > Thinking that it's a no-op doesn't really help. No bugs are > _intentional_, I would seriously hope. Lack of testing is lack of > testing, regardless of whether you think it would not matter. > > It also destroys the real history of the code, which is sad. > > Now, sometimes you may _want_ to destroy the real history of the code > (as in "Oh, this history is too ugly to survive, and makes bisection > impossible because some of the intermediate state was seriously > buggy"). That is then one of those few valid reasons to rebase (see > the "major bug in your branch" case above). > > But 99% of the time, rebasing is bad. If it was in linux-next and > there were no horrible problems with it, and it got tested there, then > just leave it alone and don't destroy the testing it did get. > > Anyway, I've pulled this now, but honestly, don't do this again. Stop > rebasing without a big and immediate reason, and stop destroying > whatever testing it got in linux-next. Got it. > > And if you _do_ rebase, and you _do_ have a real and very serious > reason, then mention that reason and explain it. But no "the rebase > didn't make any difference" isn't a reason. Quite the reverse. > > Linus > > Linus