]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 b0838dc4dfee6c1195af318e41b15e52f7c05399..cd438e4150f654f3f9beed9dd03cd18bfb70d86b 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 3e430590c1e10c2e06984653e387cfbc783ca28c..d9d3387f7c478bc6f53f12c0fa34384fefabe0c9 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 c7aadfef5386bac1690bf389b9f885487d2bc7b4..670d1371aca1727e765f4c493edc00ea32cd1c1d 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