aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/bits/syscall.h.in
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/riscv64/bits/syscall.h.in
parentd4f298149c5e36ac5521888d645bfb65f4d027fc (diff)
downloadmusl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.zip
musl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.tar.gz
musl-d990090384c6a468bb86962baf8bae7b6fd1d2bf.tar.bz2
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/riscv64/bits/syscall.h.in')
-rw-r--r--arch/riscv64/bits/syscall.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index 0043eeb..da4fd73 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -289,6 +289,8 @@
#define __NR_fspick 433
#define __NR_pidfd_open 434
#define __NR_clone3 435
+#define __NR_openat2 437
+#define __NR_pidfd_getfd 438
#define __NR_sysriscv __NR_arch_specific_syscall
#define __NR_riscv_flush_icache (__NR_sysriscv + 15)