Skip to content

Commit

Permalink
riscv: enable sys_clone3 syscall for rv64
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
paul-walmsley-sifive committed Jul 19, 2019
1 parent 3bfe1fc commit 56ac5e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifdef __LP64__
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_SYS_CLONE3
#endif /* __LP64__ */

#include <asm-generic/unistd.h>
Expand Down

0 comments on commit 56ac5e2

Please sign in to comment.