Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1737032pxb; Thu, 4 Nov 2021 07:36:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySym1WVIJZLgcBhdIcwQpvu1aUbqVXAq/jrJaOkYW0iG1K6/6ZS2c57ZX4d+Pb2TnxTXxR X-Received: by 2002:a05:6e02:1b8a:: with SMTP id h10mr35849891ili.237.1636036601143; Thu, 04 Nov 2021 07:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636036601; cv=none; d=google.com; s=arc-20160816; b=VRfYRBIDK5pqx8LvNCT2oaFEU2lXk4DHg3KtfGl4JZztr3SNgn5rMgpPKBRSclOE2s qoF8maEEVLDOtw+YiTqVYcuMIHsispZ3EunFyUma2M77SK+x/bX8SCWLBOB4YmYHy/YT gxh+gWDF8MPGtMBPLIfxhvPmPbEE1gAwSYfuuVur4Ips6Z5aq2ABMhErSk6Odj/iVSEo 9TQkWC2lezL2vJueATvSEYwyiQqtclhm0f0xqdgNliad9IA+pzDems4+ui5LhLvzi2cr DEcAFJ9JpvR8ePhOC3GXuQRFRLcIdRLkOx0IADc/vu9Ihw5+6gK/1RrZQG+ROIP/nFZm 2DCQ== 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=lxqQEO/rT8vCYvc8shTb7+5KlfliNzIt+0I9iwl8MAo=; b=AaTSe6jBw8yuuE+JPaQoLlSwwIlEqKgS9w2x12DAY/4pSvgbFL6rZebUqtrpbfJSZ6 pLx6JZgk5lvVQJ8UuhN2Yo5GgjBpLips4mnhQZHy3yFakTasFHbCkyhk7hfxySXZLIIk WqOi3Z8njBIKYwPNx4fojpJD7/Fw7yZoaXRglJCAYEi0fZBE4AuTbDPeHg+KkmQah3uo etoP1CFu68Djv/HHAuh3/nnlcW3s1D4l17a9zTA/uQJOApO9V+PTQm4M4YJ1oCysKjjn FWj9SzyKlAjAx3II6LjZyrUO6IY30IEy/rhnPM+ojQ0ZTjSA7LekTUv/6WcYSw+uKxRz vQ1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=aNkhGBzu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si2689522ilv.58.2021.11.04.07.36.26; Thu, 04 Nov 2021 07:36:41 -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=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=aNkhGBzu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231295AbhKDOfu (ORCPT + 99 others); Thu, 4 Nov 2021 10:35:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbhKDOft (ORCPT ); Thu, 4 Nov 2021 10:35:49 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46DC7C061714 for ; Thu, 4 Nov 2021 07:33:11 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id b15so2851960edd.7 for ; Thu, 04 Nov 2021 07:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lxqQEO/rT8vCYvc8shTb7+5KlfliNzIt+0I9iwl8MAo=; b=aNkhGBzuHtE+aKaw13HGw6I6vPq73j+InPfB4QqRZKmnPZtFCRKSA+jaNq1ULgn3py ajyp/iY34nquejwde3BsdN+r2yLScSMwq+wWHVYh5M/bCTnOUA9qYkh5Wy2ZSYf97S7I UtbM9/9nqGBNqbGcaClLG3ICUvAcakurSnUAawq0yArgjcs8gyx6gDAQ8hgEiSEMDPYy s0+RwrrgH1e1PYxZGi0Taqld5gI6htVwEPSq8DqYi/pWW2pbkANtuuoUDWuz63nCdDGQ HdFXgrPD92t0zW2rsyezLbggeVi7CAwE08+ZB7CCWizu5/KmyBQYDyjKYT2v4lD7VYf/ lTFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lxqQEO/rT8vCYvc8shTb7+5KlfliNzIt+0I9iwl8MAo=; b=4d3AMYw+v1e45INDSACiP91tnggtMyq4GaKBSIGZs0I/d95/hFPqzm4bqkgpLV7TgI 0eEqUP8b1qxYuoTJEORP4cUDxucZpU7Dms7Y2W5b2H+VJyVD6Y+wVltMK7qYfeuzN1ec 0C+vUNZ5w98PJAorjA2UR1TOaP3InpdqarwaMEpPwFC2e5QoUWK0Qhq6TlU3wuCmnEsQ GKJ5ArtwRnTWR1lXIfgQ/caqKFgbaKrOx682AjK6D10D+5yCcOIKRSG/uheFMeD9lJRI a/mALJmvG3vVhes2avabKQhDeWohVdkvpva3zbcO0N55IywYQKJeZFau86PQvlylHlR2 cvvA== X-Gm-Message-State: AOAM532nttttEV00HNH2ZSTDlGGYZ6fGic4Iz2JcdM2B03xRZOFQDbCk pI8p1YpHSLdRkTr0LTsbgfOVL6xxPEDSiosjG/sz X-Received: by 2002:a17:907:868f:: with SMTP id qa15mr37133631ejc.187.1636036386968; Thu, 04 Nov 2021 07:33:06 -0700 (PDT) MIME-Version: 1.0 References: <163584790624.1845480.1785827913484538939.b4-ty@ellerman.id.au> <87a6im87tq.fsf@mpe.ellerman.id.au> <20211102235449.rwtbgmddkzdaodhv@meerkat.local> <871r3w8msd.fsf@mpe.ellerman.id.au> In-Reply-To: <871r3w8msd.fsf@mpe.ellerman.id.au> From: Paul Moore Date: Thu, 4 Nov 2021 10:32:55 -0400 Message-ID: Subject: Re: [PATCH v2 RESEND] powerpc/audit: Convert powerpc to AUDIT_ARCH_COMPAT_GENERIC To: Michael Ellerman Cc: Konstantin Ryabitsev , patch-notifications@ellerman.id.au, Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy , linux-kernel@vger.kernel.org, linux-audit@redhat.com, linuxppc-dev@lists.ozlabs.org, Eric Paris Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021 at 2:20 AM Michael Ellerman wrote: > Konstantin Ryabitsev writes: > > On Wed, Nov 03, 2021 at 10:18:57AM +1100, Michael Ellerman wrote: > >> It's not in next, that notification is from the b4 thanks script, which > >> didn't notice that the commit has since been reverted. > > > > Yeah... I'm not sure how to catch that, but I'm open to suggestions. > > I think that's probably the first time I've had a commit and a revert of > the commit in the same batch of thanks mails. > > And the notification is not wrong, the commit was applied with that SHA, > it is in the tree. > > So I'm not sure it's very common to have a commit & a revert in the tree > at the same time. I know it is not common for the SELinux and audit trees. I guess every tree/maintainer is different, but I'm probably more conservative than most when it comes to merging patches so it's pretty rare that we need to revert things in those trees. > On the other hand being able to generate a mail for an arbitrary revert > would be helpful, ie. independent of any thanks state. > > eg, picking a random commit from the past: > > e95ad5f21693 ("powerpc/head_check: Fix shellcheck errors") > > If I revert that in my tree today, it'd be cool if I could run something > that would detect the revert, backtrack to the reverted commit, extract > the message-id from the Link: tag, and generate a reply to the original > submission noting that it's now been reverted. Even if it isn't practical to do the find-the-original-commit logic, simply getting an email that says "FYI, this revert has been merged into this tree/branch" would be helpful. Although I guess that would require either the revert having the right metadata, e.g. "Cc:", or that prior mentioned logic to find the original commit so the proper To/CC lines could be generated. -- paul moore www.paul-moore.com