Skip to content

Commit 56ac5e2

Browse files
riscv: enable sys_clone3 syscall for rv64
Enable the sys_clone3 syscall for RV64. We simply include the generic version. Tested by running the program from https://lore.kernel.org/lkml/[email protected]/ and verifying that it completes successfully. Signed-off-by: Paul Walmsley <[email protected]> Acked-by: Christian Brauner <[email protected]> Cc: Christian Brauner <[email protected]>
1 parent 3bfe1fc commit 56ac5e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#ifdef __LP64__
1919
#define __ARCH_WANT_NEW_STAT
2020
#define __ARCH_WANT_SET_GET_RLIMIT
21+
#define __ARCH_WANT_SYS_CLONE3
2122
#endif /* __LP64__ */
2223

2324
#include <asm-generic/unistd.h>

0 commit comments

Comments
 (0)