From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA682C433F5 for ; Thu, 4 Nov 2021 13:19:05 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A423A611EE for ; Thu, 4 Nov 2021 13:19:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A423A611EE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-75-FJlwqnl6MDGVbl5io0XC5A-1; Thu, 04 Nov 2021 09:19:00 -0400 X-MC-Unique: FJlwqnl6MDGVbl5io0XC5A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D436C1B2C9A9; Thu, 4 Nov 2021 13:18:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAF6860854; Thu, 4 Nov 2021 13:18:14 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 74A1A4A703; Thu, 4 Nov 2021 13:18:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1A46KT09003356 for ; Thu, 4 Nov 2021 02:20:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 91EB6112131E; Thu, 4 Nov 2021 06:20:29 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8DF271121315 for ; Thu, 4 Nov 2021 06:20:26 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0A14A899EC0 for ; Thu, 4 Nov 2021 06:20:26 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-284-Xl5XjRnePOCX7s2ByPjw0Q-1; Thu, 04 Nov 2021 02:20:23 -0400 X-MC-Unique: Xl5XjRnePOCX7s2ByPjw0Q-1 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HlD5b0n9Vz4xd3; Thu, 4 Nov 2021 17:20:19 +1100 (AEDT) From: Michael Ellerman To: Konstantin Ryabitsev Subject: Re: [PATCH v2 RESEND] powerpc/audit: Convert powerpc to AUDIT_ARCH_COMPAT_GENERIC In-Reply-To: <20211102235449.rwtbgmddkzdaodhv@meerkat.local> References: <163584790624.1845480.1785827913484538939.b4-ty@ellerman.id.au> <87a6im87tq.fsf@mpe.ellerman.id.au> <20211102235449.rwtbgmddkzdaodhv@meerkat.local> Date: Thu, 04 Nov 2021 17:20:18 +1100 Message-ID: <871r3w8msd.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: linux-audit@redhat.com X-Mailman-Approved-At: Thu, 04 Nov 2021 09:18:10 -0400 Cc: Benjamin Herrenschmidt , patch-notifications@ellerman.id.au, linux-kernel@vger.kernel.org, Christophe Leroy , linux-audit@redhat.com, Paul Mackerras , Eric Paris , linuxppc-dev@lists.ozlabs.org X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. 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. In fact we could write a bot to do that across all commits ever ... cheers -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit