Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1054393pxu; Fri, 23 Oct 2020 22:22:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzUvrraKWOgd3ZzlpbDJ/RoNBSD5xpyjRKFHkQg2xS2TIoxGspOrTKZGTL8JMJBTrHT/ZH X-Received: by 2002:a17:906:1784:: with SMTP id t4mr5280934eje.489.1603516967018; Fri, 23 Oct 2020 22:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603516967; cv=none; d=google.com; s=arc-20160816; b=sNzjQhmwW+uhRM8cgabzvjOUtuGqThm3ILe0cObWpnwprY7oVk8hg8Y5R+yOvCkvBD YFrLZL8pou+RWTmAuJyJPyjv5m/q9MO7SIQRK6uyYFywUe4OmuKUvRRQ5+43DgBHpPxg ysSqlNQ21UAqHnHNjpInk7U/HC8fo59Wuw5ScycEswN/SqdpX0lwwIYT5ZWZAraEYHvC txFbVhi6lVX8bfn3K8jmkkiJOtAoSltb7Poz8f/a2Nh3zt4qcu4TASV9TYBbuXTfjpCS oFFwRlZRZelRyRl/O3h10NFlMVlEfiejLFSDt1YojCnGDZ+VaFKcOUFG6St+xAkO84mT 4TnA== 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=icMK60GhKKKQhTV5Pyj9suVv+bBVVFbJ7wD/aCD2HK4=; b=cY06prmCuHHKY4VrZ6g8oT9uoQCp7cO1MKYrZ3fQCd9uEOPgE9qZe0h+li2DnPYtDv 9M0b8YWcWsaD8T12oZtrgArx1rQfbMNCm4voeszMvyuTYVA//uCgwF1PobwdK54fkSpk K8LmRJr/NXc9Ka/dp5MEKGXnjmVLX8S9MVzai4tjZN0NnsdUkc3Q1AnJi4hs509RQmlZ CeTmDABk0zpDcsFnCR1fvTJkhJoUCpQXCkIKxK2okkgsn0i7aYE0riV7lX5aQFZYGFJP JvSge8Jqmro9eZoVxjMxO4pcYzdeNUY9H4Pk07fjR3kFsp050mrDfozTWa/Uujp2Nqth xmDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jmIOXw9U; 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 a4si2229577ejc.628.2020.10.23.22.21.52; Fri, 23 Oct 2020 22:22:46 -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=jmIOXw9U; 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 S1750629AbgJWTPB (ORCPT + 99 others); Fri, 23 Oct 2020 15:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750025AbgJWTPB (ORCPT ); Fri, 23 Oct 2020 15:15:01 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E34EC0613D2 for ; Fri, 23 Oct 2020 12:15:00 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id o18so2576708edq.4 for ; Fri, 23 Oct 2020 12:15:00 -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=icMK60GhKKKQhTV5Pyj9suVv+bBVVFbJ7wD/aCD2HK4=; b=jmIOXw9USFhftMZ9bsMglijHYHwg5XRQXt4roQQd8+vPY1RSnDZML19fjAPKGNz6A3 fHLQsmrSMMWqY4FD8z9wGvG3fru1zS1ZvcDENI8ua3pA7lVDQo5PUsCNoAlYmfZpF6L4 4rrGMJyavlk8/4PqBf9ZXjpdqSB/vcD7S0lRs= 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=icMK60GhKKKQhTV5Pyj9suVv+bBVVFbJ7wD/aCD2HK4=; b=EJ073fdsPMP4rEKB73dgRFq4XvBysIfqFFoNwQFq5/glNOcE6AXLmFpg+RCtDjrpWq Df0yeJRUvnC5lDZmZXoFe3LH2j8q5UduvAaO+aiW71fArl7ptkMfwfRT/+ASbS6D5dpj sJyl0GFMyzuqCrTfS13jKc0DgjsADuGMcRVRCh9ERT2p9iR0P9JwaQiN7lID9ltQ46lN WVN8xIo/Ih9thF/AltORJxPNRzVQzWsNbSPifZgHfT8z37CIkYYb9qjj1npOb3asbtuo IKarrJy6pOIBZ+OEffYIkZi+F8nsL/5zqGXOahK/MEGkR1fOpWLX3YCGHjBDmHoq67N8 KtAg== X-Gm-Message-State: AOAM533X8pjYyUccjbOkU6SxqniGjmBL4TwjMMZHlL/Br3ZDRUwFT5Y0 Wb9sWVNcdxYhg2phiYy5Q2GjDjxFd26bHCD5WsRUuZO86Rw= X-Received: by 2002:aa7:cf93:: with SMTP id z19mr3690893edx.26.1603480499235; Fri, 23 Oct 2020 12:14:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Micah Morton Date: Fri, 23 Oct 2020 12:14:47 -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 Fri, Oct 23, 2020 at 10:57 AM Linus Torvalds wrote: > > On Thu, Oct 15, 2020 at 5:01 PM Micah Morton wrote: > > > > I just rebased to v5.9 to make sure the 1-line changes that touch > > kernel/capability.c, kernel/groups.c and kernel/sys.c still applied > > cleanly without conflicts. Should I have rebased onto one of the -rc's > > for v5.9 instead? > > No. You shouldn't have rebased at all. 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). I guess the lesson here is never rebase or fast-forward merge my upstream-bound -next branch until it has emptied entirely into the mainline? And if that doesn't happen for whatever reason during one merge window and I have to wait for the next one, I just send you un-reparented/un-fastforwarded possibly outdated commits and you will resolve conflicts if any? The reason for the rebase making sense to me here was that the changes to common kernel code are very simple (a few one line changes) and easy to quickly verify after the rebase -- and the vast majority of the complexity of the code in the pull request was confined to the SafeSetID code base, which had no changes over the time span from original base to the reparented base. So I had basically considered it a no-op rebase. I probably should have explained this in the pull request. Thanks > > Making sure something applies cleanly is simply not a reason to rebase. > > See > > Documentation/maintainer/rebasing-and-merging.rst > > for some common rules. > > Linus