From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 303BA284690; Wed, 1 Jul 2026 04:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782881821; cv=none; b=eRoh6gGB7oI51xZBNraXqAOgUpS2QScmLu1KYeuFZwQH+wnYavlDSqeHVFTsfJ5C2dEzqgkGNwFBRdpalyKS1LYL+fOovgMXXVAK0v/I0DOV76SBP60uSPjAr/GvRz29oruk6iDO525cbMn+YN6XwRxKLsswQDIYuGGNtlHjTCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782881821; c=relaxed/simple; bh=ELytvfPPdCgzCRvOh07DUataw9CKYplllZfMrbBor8g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gcgC0Ivw1d6e/gQ+JVleLpnSCNZnh1HLQLB+pxYFKR9OxS99ab07EOKGxApiPKd0L53JlA+Q3dNPEQFNsnHVUVE4yK+FBiTM1i3VFeZZ63oeAcOkiWQtU9qcCBLn77fhicMSbzgWm6SpRyOlhURZuyxN5YBsAUxwoQX7B2KWWZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HQW9WvBo; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HQW9WvBo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5106F1F000E9; Wed, 1 Jul 2026 04:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782881819; bh=B7d+10Uvi/UxpMSuQEdexlP9g+ODgKZCmk6Fy2a5ALc=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=HQW9WvBoU8dmai0QWeSa+GVUBASgf29CX6/85aKgcvemByvyyudqoZGBnEGLm+HNX kntkeSVKyniPBOlosCqUj3eS+4BBK7IltPND8wQWTsFL8HRx6pV/7Rzfqj0QSmztKF OjYmJ5KM67AKp5fcROJEOuLI2uUmwI+FCT664C6MLLje5i+TVNEnyjQJUgrz/2Xc6+ UIZt9/dm5301+Oh7p8mf5vl2pFNqjuRMzcfzcsmjKJBAPBqDJshgm3CbqY+bUfSsT5 gq4AqbduZZY1rVxZheMZJKJtummf3PLjTtdWiQbP8Vbz+LcDduD0l92lRvyCKTcqpp pBdk8aj+Zmiog== Message-ID: Date: Wed, 1 Jul 2026 06:56:52 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] powerpc/audit: Convert powerpc to AUDIT_ARCH_COMPAT_GENERIC To: Venkat Rao Bagalkote , Madhavan Srinivasan , Paul Moore Cc: Harsh Prateek Bora , Michael Ellerman , Nicholas Piggin , Eric Paris , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, audit@vger.kernel.org, Thomas Weissschuh , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= , ritesh.list@gmail.com References: <261b1be5b8dc526b83d73e8281e682a73536ea28.1773155031.git.chleroy@kernel.org> <09e72f42-e180-4e2b-b379-92b755792a2c@linux.ibm.com> <9c53ae3f-ccfd-4e8f-ac4f-0038e9b97a7e@linux.ibm.com> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <9c53ae3f-ccfd-4e8f-ac4f-0038e9b97a7e@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 01/07/2026 à 06:32, Venkat Rao Bagalkote a écrit : > > On 01/07/26 7:44 am, Madhavan Srinivasan wrote: >> >> On 7/1/26 12:41 AM, Paul Moore wrote: >>> On Wed, May 13, 2026 at 1:42 AM Madhavan Srinivasan >>> wrote: >>>> On 5/13/26 10:05 AM, Harsh Prateek Bora wrote: >>>>> On 11/03/26 12:49 am, Paul Moore wrote: >>>>>> On Tue, Mar 10, 2026 at 11:08 AM Christophe Leroy (CS GROUP) >>>>>> wrote: >>>>>>> From: Christophe Leroy >>>>>>> >>>>>>> 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. >>>>>>> >>>>>>> With this change generated text is similar. >>>>>>> >>>>>>> Thomas has confirmed that the previously failing filter_exclude/test >>>>>>> is now successful both without and with this patch, see [1] >>>>>>> >>>>>>> [1] >>>>>>> https://eur01.safelinks.protection.outlook.com/? >>>>>>> url=https%3A%2F%2Flore.kernel.org%2Fall%2F20260306115350- >>>>>>> ef265661-6d6b-4043-9bd0-8e6b437d0d67%40linutronix.de%2F&data=05%7C02%7Cchristophe.leroy%40csgroup.eu%7C81e1e4e3bae245103d3308ded729bb47%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639184771399964577%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2FtCHXFR5np67gntCnXqv7Eemo5WuwaIEcywxZQzDADA%3D&reserved=0 >>>>>>> >>>>>>> Link: https://eur01.safelinks.protection.outlook.com/? >>>>>>> url=https%3A%2F%2Fgithub.com%2Flinuxppc%2Fissues%2Fissues%2F412&data=05%7C02%7Cchristophe.leroy%40csgroup.eu%7C81e1e4e3bae245103d3308ded729bb47%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639184771400190794%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=4fPEX7HuGBcxOcXlcJVQvDdP7Y9InhDpbz3z%2BS9lkCQ%3D&reserved=0 >>>>>>> Signed-off-by: Christophe Leroy >>>>>>> Reviewed-by: Cédric Le Goater >>>>>>> --- >>>>>>> Venkat, a test result with >>>>>>> https://eur01.safelinks.protection.outlook.com/? >>>>>>> url=https%3A%2F%2Fgithub.com%2Flinux-audit%2Faudit- >>>>>>> testsuite&data=05%7C02%7Cchristophe.leroy%40csgroup.eu%7C81e1e4e3bae245103d3308ded729bb47%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639184771400214912%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=yHp3p5zNx%2BqQg2cKBsKJADWcUcKVtZstzNScBfWzF%2FQ%3D&reserved=0 would be appreciated. >>>>>> Yes, I'd like to see confirmation that the audit test suite runs >>>>>> clean >>>>>> on ppc systems with this patch applied, and unfortunately without a >>>>>> ppc system I have no way to test this myself. >>>> My bad, this is a miss from my end. >>>> Venkat is already on this and will update the results here. >>> Do we have an update on this?  Maybe I missed it, but I don't recall >>> seeing any test results. >> Venkat, did run the test but I guess he missed to respond here, >> Details of his test run that he shared me in the internal chat from >> May 13. > > > Sorry, My bad. I missed updating here. Yes, this was tested in May. > Please let me know, if a re-run is required? It looks like netcat (https://linux.die.net/man/1/nc) is not installed in you setup. Are you able to install it and rerun the test ? Thanks Christophe > > Regards, > > Venkat. > >> >> backlog_wait_time_actual_reset/test .. ok >> bpf/test ............................. ok >> exec_execve/test ..................... ok >> exec_name/test ....................... ok >> fanotify/test ........................ ok >> field_compare/test ................... ok >> file_create/test ..................... ok >> file_delete/test ..................... ok >> file_permission/test ................. ok >> file_rename/test ..................... ok >> filter_exclude/test .................. ok >> filter_exit/test ..................... ok >> filter_saddr_fam/test ................ ok >> filter_sessionid/test ................ ok >> io_uring/test ........................ ok >> login_tty/test ....................... ok >> lost_reset/test ...................... ok >> netfilter_pkt/test ................... Can't exec "nc": No such file >> or directory at netfilter_pkt/test line 83. >> >> Venkat, can you please re-run if possible and paste the log here. >> >> Thanks >> Maddy >> >>