Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2796135pxb; Tue, 24 Aug 2021 07:49:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDE7rvUR30dl7KNUVqQt/DhJh9aSqZ0vsyfagsc58zUhFxhyLA6AVDVEnk0vW2UOEksFux X-Received: by 2002:a17:906:c006:: with SMTP id e6mr41569945ejz.510.1629816583620; Tue, 24 Aug 2021 07:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629816583; cv=none; d=google.com; s=arc-20160816; b=naKmjCICkBA9E1U3q13bUTh0D0Ya2DhYjd0A4UD+r9GlyIQ+9+3REGw4a0LA2Q+Yd0 oc+cWwsqvSBkB57IPVkrA0ZTJT7zVRBIY2XU5T/Z2U8aeGUKV3M+NQ10mWoDBedgzyiA r2tAJLCY1cBiW7wnhfTqdA4pr73Q48Re24r2J3sAojyBexA130o/fPV4mS7hSYWfAj94 eMYqVzZ9l2pJ7Vbg+OeON6GOfguLtOVU3SvvrbHjow31Gd4aKOVnx0apf+d+nILGVLIk E203DWIy4IMur2gMCkL9y5fUrj1GJgYxkz2HBk4PT68jzdMCcMSktEyxGLRYdafDpkJM JMuw== 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=YnPUVfUgYHSOqP3q+uA993Pwu7eBA1Aa+0lCfjRXQXc=; b=G22xAnrDErIE7sV8vvrywaejsKH+NXjcOysHui6EqmxQoc+fpe8Wfklm7Pe9iyJnGu bOmtMut3VkFFgOxWlE5x0TYXO5NkrEduB/iRCL3p7ube56P5zyEr9iJCTL6uZCKtmfAL Fi4U/zcsjYs8jGgB14elKyc1kfgxXXQuKk9a+qxszRNL1blW+9UKFK07VqRGASOiunfm ciEYtxCP43IDZCHnbQd0lP1GJDsi19x2xSWG/hAKnnv20Xqlp7U+o6oFuy2FaKETdL71 4UgZ7DQz63m04vqh1CFHKp24qBEp+P6j+KAOZLPdhUdzdSWEkORLsopWwzzv0tAEl7bl sSEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=wvdmGiCM; 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 ee39si17303278edb.579.2021.08.24.07.49.19; Tue, 24 Aug 2021 07:49:43 -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.20150623.gappssmtp.com header.s=20150623 header.b=wvdmGiCM; 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 S237821AbhHXOsq (ORCPT + 99 others); Tue, 24 Aug 2021 10:48:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237755AbhHXOsp (ORCPT ); Tue, 24 Aug 2021 10:48:45 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94DB0C061757 for ; Tue, 24 Aug 2021 07:48:01 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id i21so3649351ejd.2 for ; Tue, 24 Aug 2021 07:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YnPUVfUgYHSOqP3q+uA993Pwu7eBA1Aa+0lCfjRXQXc=; b=wvdmGiCMZOR/4dUX6jTk0PRzMkxcXwKO+u9ksozwcU3gZu4J6vrO1h3lhyVdbQ5zf2 y6AZGFe2x3XJDft1AvQhWGewc1mXepvTnS6D1h4zMJm5o64B9NOGxg5VGhn+vQbDIkH3 NCWU48hDd1JeV8fVtc9as5+f8hSr+OGBPHu08basolmrcnOyxVrd40vxBYHwmCA7NtIK SFi9e42xBS00Puy5lK8vRveNaIspZfdRiJ92ff9LUuBa9KZI/55adtF8KVoRu4oBMxsB ghDxErVWQWiClWpoEtx650mpFCQf0my+3zbNb+PWwV+M0mfWVj02yQl5JW/YWYapk4XV ruvA== 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=YnPUVfUgYHSOqP3q+uA993Pwu7eBA1Aa+0lCfjRXQXc=; b=H9zrlMbpEJZGZFVlJ000oyNu1NmBfYoOnjsJQuHPCcrz1LfWOpRbcFzSBr/2DDiFEm QOHlR+ct5GuGx4cmPtpDEgqFy3zWU+o8M2NoH/7/0WC+xo9BxpROPSziRnODpoNslmnk Yru1FdZbBfEXVDnQjBj+Lj1jYa0CKnkBkdprtj3m1gTMAqsO3teMLJpGLR4c10yzeJdK bngBHGVZxYm3qwqmqbTIw8pWFf2zIhXFhqkpeCnAZOvkXj7XqaMpf7l12VshZHt4hmVL wUtxdDUdFbBun2Dz4NYOXVheDjAYi3bqrgOpcGr0SNdUfhdiTTE8AgFmZMaaTzqknPdZ X9uQ== X-Gm-Message-State: AOAM530D6Z67oXOncqrD4cghmvf1wgxlpgKymaIQa3XFKqfKP5nYHLzl fzVSEdXCpV12uHGFHsIHqgojYbEM/kH9zxegFE6u X-Received: by 2002:a17:906:2755:: with SMTP id a21mr40640335ejd.488.1629816480152; Tue, 24 Aug 2021 07:48:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Moore Date: Tue, 24 Aug 2021 10:47:49 -0400 Message-ID: Subject: Re: [PATCH v2 RESEND] powerpc/audit: Convert powerpc to AUDIT_ARCH_COMPAT_GENERIC To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Eric Paris , linux-audit@redhat.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 9:36 AM Christophe Leroy wrote: > > Commit e65e1fc2d24b ("[PATCH] syscall class hookup for all normal > targets") added generic support for AUDIT but that didn't include > support for bi-arch like powerpc. > > Commit 4b58841149dc ("audit: Add generic compat syscall support") > added generic support for bi-arch. > > Convert powerpc to that bi-arch generic audit support. > > Cc: Paul Moore > Cc: Eric Paris > Signed-off-by: Christophe Leroy > --- > Resending v2 with Audit people in Cc > > v2: > - Missing 'git add' for arch/powerpc/include/asm/unistd32.h > - Finalised commit description > --- > arch/powerpc/Kconfig | 5 +- > arch/powerpc/include/asm/unistd32.h | 7 +++ > arch/powerpc/kernel/Makefile | 3 -- > arch/powerpc/kernel/audit.c | 84 ----------------------------- > arch/powerpc/kernel/compat_audit.c | 44 --------------- > 5 files changed, 8 insertions(+), 135 deletions(-) > create mode 100644 arch/powerpc/include/asm/unistd32.h > delete mode 100644 arch/powerpc/kernel/audit.c > delete mode 100644 arch/powerpc/kernel/compat_audit.c Can you explain, in detail please, the testing you have done to verify this patch? -- paul moore www.paul-moore.com