openrisc: Enable the clone3 syscall
authorStafford Horne <shorne@gmail.com>
Tue, 25 Feb 2020 10:04:45 +0000 (19:04 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 2 Mar 2020 09:10:52 +0000 (18:10 +0900)
Enable the clone3 syscall for OpenRISC.  We use the generic version.

This was tested with the clone3 test from selftests.  Note, for all
tests to pass it required enabling CONFIG_NAMESPACES which is not
enabled in the default OpenRISC kernel config.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
arch/openrisc/include/uapi/asm/unistd.h

index 566f8c4f8047ee08aa02af511debe615d3cd902a..fae34c60fa88f2d68e45ba251c186cc0f867a822 100644 (file)
@@ -24,6 +24,7 @@
 #define __ARCH_WANT_SET_GET_RLIMIT
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
 #define __ARCH_WANT_TIME32_SYSCALLS
 
 #include <asm-generic/unistd.h>