aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-07-14 20:49:23 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-07-23 10:45:53 +0200
commit5518aed82d2abd97f8d3ec91d8ba455d939e8cd1 (patch)
tree503de6456632eb2baef928cd80f65547d06f0f83 /arch/s390/include
parentkbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header test (diff)
downloadlinux-dev-5518aed82d2abd97f8d3ec91d8ba455d939e8cd1.tar.xz
linux-dev-5518aed82d2abd97f8d3ec91d8ba455d939e8cd1.zip
s390: wire up clone3 system call
Tested (64-bit and compat mode) using program from http://lkml.kernel.org/r/20190604212930.jaaztvkent32b7d3@brauner.io with the following: return syscall(__NR_clone, flags, 0, pidfd, 0, 0); changed to: return syscall(__NR_clone, 0, flags, pidfd, 0, 0); due to CLONE_BACKWARDS2. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h
index b6755685c7b8..9e9f75ef046a 100644
--- a/arch/s390/include/asm/unistd.h
+++ b/arch/s390/include/asm/unistd.h
@@ -34,5 +34,6 @@
#define __ARCH_WANT_SYS_FORK
#define __ARCH_WANT_SYS_VFORK
#define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
#endif /* _ASM_S390_UNISTD_H_ */