Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 24 Jun 2024 14:36:45 +0200
From: "Arnd Bergmann" <>
To: "Arnd Bergmann" <>,
 Linux-Arch <>,
Cc: "Thomas Bogendoerfer" <>,, "Helge Deller" <>,, "David S . Miller" <>,
 "Andreas Larsson" <>,,
 "Michael Ellerman" <>,
 "Nicholas Piggin" <>,
 "Christophe Leroy" <>,
 "Naveen N. Rao" <>,, "Brian Cain" <>,, guoren <>,
 "" <>,
 "Heiko Carstens" <>,,
 "Rich Felker" <>,
 "John Paul Adrian Glaubitz" <>,, "H. Peter Anvin" <>,
 "Alexander Viro" <>,
 "Christian Brauner" <>,,
 "Xi Ruoyao" <>,
 "" <>,
 "LTP List" <>,
Subject: Re: [PATCH 14/15] asm-generic: unistd: fix time32 compat syscall handling

On Thu, Jun 20, 2024, at 18:23, Arnd Bergmann wrote:
> From: Arnd Bergmann <>
> arch/riscv/ appears to have accidentally enabled the compat time32
> syscalls in 64-bit kernels even though the native 32-bit ABI does
> not expose those.
> Address this by adding another level of indirection, checking for both
> the target ABI (32 or 64) and the __ARCH_WANT_TIME32_SYSCALLS macro.
> The macro arguments are meant to follow the syscall.tbl format, the idea
> here is that by the end of the series, all other syscalls are changed
> to the same format to make it possible to move all architectures over
> to generating the system call table consistently.
> Only this patch needs to be backported though.
> Cc: # v5.19+
> Fixes: 7eb6369d7acf ("RISC-V: Add support for rv32 userspace via COMPAT")
> Signed-off-by: Arnd Bergmann <>

I had pulled this in from my longer series, but as the kernel
build bot reported, this produced build time regressions, so
I'll drop it from the v6.10 fixes and will integrated it back
as part of the cleanup series.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.