Skip to content

Commit

Permalink
openrisc: Enable the clone3 syscall
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Christian Brauner <[email protected]>
  • Loading branch information
stffrdhrn committed Mar 2, 2020
1 parent 0d4e1bb commit 07e83df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 07e83df

Please sign in to comment.