about summary refs log tree commit diff
path: root/arch/arm/bits
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-03-31 18:32:51 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:19:55 -0400
commitd990090384c6a468bb86962baf8bae7b6fd1d2bf (patch)
tree2ef58a104ff7da374e30042a243cfe15f9dff248 /arch/arm/bits
parentd4f298149c5e36ac5521888d645bfb65f4d027fc (diff)
downloadmusl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.tar.gz
musl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.tar.xz
musl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.zip
add pidfd_getfd and openat2 syscall numbers from linux v5.6
also added clone3 on sh and m68k, on sh it's still missing (not
yet wired up), but reserved so safe to add.

see

  linux commit fddb5d430ad9fa91b49b1d34d0202ffe2fa0e179
  open: introduce openat2(2) syscall

  linux commit 9a2cef09c801de54feecd912303ace5c27237f12
  arch: wire up pidfd_getfd syscall

  linux commit 8649c322f75c96e7ced2fec201e123b2b073bf09
  pid: Implement pidfd_getfd syscall

  linux commit e8bb2a2a1d51511e6b3f7e08125d52ec73c11139
  m68k: Wire up clone3() syscall
Diffstat (limited to 'arch/arm/bits')
-rw-r--r--arch/arm/bits/syscall.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index 11d67763..729597c2 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -389,6 +389,8 @@
 #define __NR_fspick		433
 #define __NR_pidfd_open		434
 #define __NR_clone3		435
+#define __NR_openat2		437
+#define __NR_pidfd_getfd	438
 
 #define __ARM_NR_breakpoint	0x0f0001
 #define __ARM_NR_cacheflush	0x0f0002