Files
linux/arch/sh/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
..
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2024-05-02 12:01:25 +02:00
2020-06-01 14:48:52 -04:00
2024-05-02 12:01:24 +02:00
2023-01-10 05:31:42 -06:00
2020-06-01 14:48:52 -04:00
2019-07-01 17:51:40 +02:00
2018-12-28 12:11:45 -08:00
2023-03-08 08:44:24 -08:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2023-11-23 11:32:32 +01:00
2020-06-01 14:48:52 -04:00
2022-02-25 09:36:06 +01:00
2022-01-30 21:17:00 -05:00
2020-06-01 14:48:52 -04:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00