Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

openrisc: Enable the clone3 syscall

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>

+1
+1
arch/openrisc/include/uapi/asm/unistd.h
··· 24 24 #define __ARCH_WANT_SET_GET_RLIMIT 25 25 #define __ARCH_WANT_SYS_FORK 26 26 #define __ARCH_WANT_SYS_CLONE 27 + #define __ARCH_WANT_SYS_CLONE3 27 28 #define __ARCH_WANT_TIME32_SYSCALLS 28 29 29 30 #include <asm-generic/unistd.h>