parisc: Wire up clone3 syscall
authorHelge Deller <deller@gmx.de>
Mon, 15 Jul 2019 20:33:26 +0000 (22:33 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 17 Jul 2019 21:11:28 +0000 (23:11 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
Tested-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Christian Brauner <christian@brauner.io>
arch/parisc/include/asm/unistd.h
arch/parisc/kernel/entry.S
arch/parisc/kernel/syscalls/syscall.tbl

index b0838dc..cd438e4 100644 (file)
@@ -166,6 +166,7 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5)       \
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
 
 #ifdef CONFIG_64BIT
index 3e43059..d9d3387 100644 (file)
@@ -1732,6 +1732,7 @@ ENDPROC_CFI(sys_\name\()_wrapper)
        .endm
 
 fork_like clone
+fork_like clone3
 fork_like fork
 fork_like vfork
 
index c7aadfe..670d137 100644 (file)
 432    common  fsmount                         sys_fsmount
 433    common  fspick                          sys_fspick
 434    common  pidfd_open                      sys_pidfd_open
-# 435 reserved for clone3
+435    common  clone3                          sys_clone3_wrapper