Files
linux/arch/powerpc/include/asm
Arnd Bergmann 505d66d1ab clone3: drop __ARCH_WANT_SYS_CLONE3 macro
When clone3() was introduced, it was not obvious how each architecture
deals with setting up the stack and keeping the register contents in
a fork()-like system call, so this was left for the architecture
maintainers to implement, with __ARCH_WANT_SYS_CLONE3 defined by those
that already implement it.

Five years later, we still have a few architectures left that are missing
clone3(), and the macro keeps getting in the way as it's fundamentally
different from all the other __ARCH_WANT_SYS_* macros that are meant
to provide backwards-compatibility with applications using older
syscalls that are no longer provided by default.

Address this by reversing the polarity of the macro, adding an
__ARCH_BROKEN_SYS_CLONE3 macro to all architectures that don't
already provide the syscall, and remove __ARCH_WANT_SYS_CLONE3
from all the other ones.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-10 14:23:38 +02:00
..
2024-04-25 20:55:47 -07:00
2024-04-25 20:55:47 -07:00
2024-04-08 15:03:06 +02:00
2023-10-20 23:18:07 +11:00
2023-10-20 23:18:07 +11:00
2023-12-08 12:02:37 +01:00
2023-12-08 12:02:37 +01:00
2023-02-12 22:11:56 +11:00
2021-03-24 14:09:29 +11:00
2022-06-29 19:37:07 +10:00
2024-05-08 00:21:30 +10:00
2024-02-15 00:14:06 +11:00
2024-05-08 00:21:30 +10:00
2023-12-08 12:02:37 +01:00
2024-03-06 13:04:19 -08:00
2021-02-09 01:09:44 +11:00
2024-05-08 00:21:30 +10:00
2022-05-08 22:15:40 +10:00
2022-12-07 20:14:49 +11:00
2023-08-24 22:33:16 +10:00
2021-12-09 22:41:21 +11:00
2022-09-28 19:22:09 +10:00
2023-08-02 22:49:43 +10:00
2024-05-08 00:21:30 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00
2024-02-15 00:14:06 +11:00