diff options
author | Stafford Horne <shorne@gmail.com> | 2020-02-25 19:04:45 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2020-03-02 18:10:52 +0900 |
commit | 07e83dfbe16cd882afc1d221f4ef3a85b9818f9a (patch) | |
tree | 2ca5c4b563cd29830aa70577dd05f078878afea5 /arch/openrisc | |
parent | 0d4e1bb1062481c43c01dd20fd4c40544441739f (diff) | |
download | linux-07e83dfbe16cd882afc1d221f4ef3a85b9818f9a.tar.bz2 |
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>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/include/uapi/asm/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/uapi/asm/unistd.h b/arch/openrisc/include/uapi/asm/unistd.h index 566f8c4f8047..fae34c60fa88 100644 --- a/arch/openrisc/include/uapi/asm/unistd.h +++ b/arch/openrisc/include/uapi/asm/unistd.h @@ -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> |