Files
linux/arch/mips/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
..
2023-06-09 17:44:13 -07:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2021-01-22 11:40:00 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2024-02-20 13:36:34 +01:00
2021-10-24 17:24:47 +02:00
2022-07-14 11:52:29 +02:00
2022-07-14 11:52:29 +02:00
2024-01-08 10:39:12 +01:00
2023-12-21 15:31:25 +01:00
2021-07-13 15:08:15 -05:00
2022-02-22 09:35:49 +01:00
2021-09-23 11:23:35 +02:00
2021-10-24 17:24:47 +02:00
2021-01-04 11:37:27 +01:00
2022-03-01 10:07:22 +01:00
2023-08-15 10:22:23 +02:00
2024-03-07 17:18:50 +01:00
2024-01-08 10:39:12 +01:00
2021-11-29 12:43:06 +01:00
2021-09-23 11:23:35 +02:00
2024-01-08 10:39:12 +01:00
2024-04-25 20:55:47 -07:00
2024-01-08 10:39:12 +01:00
2024-01-05 10:17:44 -08:00
2023-12-10 17:21:41 -08:00
2022-03-14 15:09:27 +01:00
2023-04-12 15:01:09 +02:00
2023-12-10 17:21:41 -08:00
2024-01-08 10:39:12 +01:00
2023-02-19 09:28:30 +01:00
2023-12-10 17:21:38 -08:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-25 09:36:05 +01:00
2022-07-14 11:52:29 +02:00
2023-04-12 15:01:09 +02:00