diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2019-07-14 20:49:23 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-07-23 10:45:53 +0200 |
commit | 5518aed82d2abd97f8d3ec91d8ba455d939e8cd1 (patch) | |
tree | 503de6456632eb2baef928cd80f65547d06f0f83 /arch/s390/kernel | |
parent | a963609e27786e2b0a80e649ca78798bf769c5d3 (diff) | |
download | linux-stable-5518aed82d2abd97f8d3ec91d8ba455d939e8cd1.tar.gz linux-stable-5518aed82d2abd97f8d3ec91d8ba455d939e8cd1.tar.bz2 linux-stable-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/kernel')
-rw-r--r-- | arch/s390/kernel/syscalls/syscall.tbl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/syscalls/syscall.tbl b/arch/s390/kernel/syscalls/syscall.tbl index a90d3e945445..3054e9c035a3 100644 --- a/arch/s390/kernel/syscalls/syscall.tbl +++ b/arch/s390/kernel/syscalls/syscall.tbl @@ -437,4 +437,4 @@ 432 common fsmount sys_fsmount sys_fsmount 433 common fspick sys_fspick sys_fspick 434 common pidfd_open sys_pidfd_open sys_pidfd_open -# 435 reserved for clone3 +435 common clone3 sys_clone3 sys_clone3 |