]> git.baikalelectronics.ru Git - kernel.git/commit
s390: wire up clone3 system call
authorVasily Gorbik <gor@linux.ibm.com>
Sun, 14 Jul 2019 18:49:23 +0000 (20:49 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 23 Jul 2019 08:45:53 +0000 (10:45 +0200)
commit5b6e6151e66c233ffc0524d87c31ad12dc18b750
tree503de6456632eb2baef928cd80f65547d06f0f83
parent7ed5e8e0925fa99798a5103e867502720d415e50
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>
arch/s390/include/asm/unistd.h
arch/s390/kernel/syscalls/syscall.tbl