aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-11-03 23:27:31 +0000
committerRich Felker <dalias@aerifal.cx>2019-12-30 18:13:56 -0500
commitfa765ca54f1b5417df2ef54039ad580938a6c549 (patch)
treec6e5cc61baf802688d1b929dcf85384f4004a0f1
parenta45289112c033fe96d1c50a8908cbe58892db5c6 (diff)
downloadmusl-fa765ca54f1b5417df2ef54039ad580938a6c549.zip
musl-fa765ca54f1b5417df2ef54039ad580938a6c549.tar.gz
musl-fa765ca54f1b5417df2ef54039ad580938a6c549.tar.bz2
add clone3 syscall number from linux v5.3
the syscall number is reserved on all targets, but it is not wired up on all targets, see linux commit 8f6ccf6159aed1f04c6d179f61f6fb2691261e84 Merge tag 'clone3-v5.3' of ... brauner/linux linux commit 8f3220a806545442f6f26195bc491520f5276e7c arch: wire-up clone3() syscall linux commit 7f192e3cd316ba58c88dfa26796cf77789dd9872 fork: add clone3
-rw-r--r--arch/aarch64/bits/syscall.h.in1
-rw-r--r--arch/arm/bits/syscall.h.in1
-rw-r--r--arch/i386/bits/syscall.h.in1
-rw-r--r--arch/microblaze/bits/syscall.h.in1
-rw-r--r--arch/or1k/bits/syscall.h.in1
-rw-r--r--arch/powerpc/bits/syscall.h.in1
-rw-r--r--arch/powerpc64/bits/syscall.h.in1
-rw-r--r--arch/riscv64/bits/syscall.h.in1
-rw-r--r--arch/s390x/bits/syscall.h.in1
-rw-r--r--arch/x32/bits/syscall.h.in2
-rw-r--r--arch/x86_64/bits/syscall.h.in1
11 files changed, 12 insertions, 0 deletions
diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in
index 2f2c358..93648af 100644
--- a/arch/aarch64/bits/syscall.h.in
+++ b/arch/aarch64/bits/syscall.h.in
@@ -288,4 +288,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index 59001fb..8ab5df1 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -388,6 +388,7 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
#define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index ef1f9d5..bb84167 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -425,4 +425,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in
index ec6f766..afefb35 100644
--- a/arch/microblaze/bits/syscall.h.in
+++ b/arch/microblaze/bits/syscall.h.in
@@ -426,4 +426,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in
index c863f92..eaa1a93 100644
--- a/arch/or1k/bits/syscall.h.in
+++ b/arch/or1k/bits/syscall.h.in
@@ -310,4 +310,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in
index dff8472..d8b6a24 100644
--- a/arch/powerpc/bits/syscall.h.in
+++ b/arch/powerpc/bits/syscall.h.in
@@ -414,4 +414,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in
index de65c86..b935864 100644
--- a/arch/powerpc64/bits/syscall.h.in
+++ b/arch/powerpc64/bits/syscall.h.in
@@ -386,4 +386,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index c5e9937..0043eeb 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -288,6 +288,7 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
#define __NR_sysriscv __NR_arch_specific_syscall
#define __NR_riscv_flush_icache (__NR_sysriscv + 15)
diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in
index ef526d7..e89f378 100644
--- a/arch/s390x/bits/syscall.h.in
+++ b/arch/s390x/bits/syscall.h.in
@@ -351,4 +351,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index 9430d76..f47bdee 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -297,6 +297,8 @@
#define __NR_fsmount (0x40000000 + 432)
#define __NR_fspick (0x40000000 + 433)
#define __NR_pidfd_open (0x40000000 + 434)
+#define __NR_clone3 (0x40000000 + 435)
+
#define __NR_rt_sigaction (0x40000000 + 512)
#define __NR_rt_sigreturn (0x40000000 + 513)
diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in
index fc75d49..6a646ad 100644
--- a/arch/x86_64/bits/syscall.h.in
+++ b/arch/x86_64/bits/syscall.h.in
@@ -344,4 +344,5 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
+#define __NR_clone3 435