summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-10-30 12:16:29 -0700
committerRich Felker <dalias@aerifal.cx>2024-02-29 16:36:55 -0500
commit8432d16a4664433b2f9a263aee0d7d829129a7bc (patch)
tree6a8bcbb21a6c712ff70ab51018726dadebe41480
parent3ea3fcf78a5532e118856846df8adbf3f60ef716 (diff)
downloadmusl-8432d16a4664433b2f9a263aee0d7d829129a7bc.tar.gz
riscv32: add new syscall numbers
- add mount_setattr from linux v5.12 - add epoll_pwait2 from linux v5.11 - add process_madvise from linux v5.10 - add __NR_faccessat2 from linux v5.8 - add pidfd_getfd and openat2 syscall numbers from linux v5.6 - add clone3 syscall number from linux v5.3 - add process_mrelease from linux v5.15 - add futex_waitv from linux v5.16 - add set_mempolicy_home_node from linux v5.17 - add cachestat from linux v6.4 - add __NR_fchmodat2 from linux v6.6
-rw-r--r--arch/riscv32/bits/syscall.h.in16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/riscv32/bits/syscall.h.in b/arch/riscv32/bits/syscall.h.in
index 852d2aaa..9228d840 100644
--- a/arch/riscv32/bits/syscall.h.in
+++ b/arch/riscv32/bits/syscall.h.in
@@ -279,7 +279,21 @@
#define __NR_fsmount 432
#define __NR_fspick 433
#define __NR_pidfd_open 434
-
+#define __NR_clone3 435
+#define __NR_openat2 437
+#define __NR_pidfd_getfd 438
+#define __NR_faccessat2 439
+#define __NR_process_madvise 440
+#define __NR_epoll_pwait2 441
+#define __NR_mount_setattr 442
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_restrict_self 446
+#define __NR_process_mrelease 448
+#define __NR_futex_waitv 449
+#define __NR_set_mempolicy_home_node 450
+#define __NR_cachestat 451
+#define __NR_fchmodat2 452
#define __NR_futex __NR_futex_time64
#define __NR_sysriscv __NR_arch_specific_syscall