* [musl] [PATCH] Update syscalls for r32/rv64 from kernel 6.4 through 6.10
@ 2024-12-04 19:53 Khem Raj
0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2024-12-04 19:53 UTC (permalink / raw)
To: musl; +Cc: Khem Raj
---
arch/riscv32/bits/syscall.h.in | 11 +++++++++++
arch/riscv64/bits/syscall.h.in | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/arch/riscv32/bits/syscall.h.in b/arch/riscv32/bits/syscall.h.in
index 9228d840..a54d9ffc 100644
--- a/arch/riscv32/bits/syscall.h.in
+++ b/arch/riscv32/bits/syscall.h.in
@@ -216,6 +216,7 @@
#define __NR_perf_event_open 241
#define __NR_accept4 242
#define __NR_arch_specific_syscall 244
+#define __NR_riscv_hwprobe 258
#define __NR_prlimit64 261
#define __NR_fanotify_init 262
#define __NR_fanotify_mark 263
@@ -295,6 +296,16 @@
#define __NR_cachestat 451
#define __NR_fchmodat2 452
#define __NR_futex __NR_futex_time64
+#define __NR_map_shadow_stack 453
+#define __NR_futex_wake 454
+#define __NR_futex_wait 455
+#define __NR_futex_requeue 456
+#define __NR_statmount 457
+#define __NR_listmount 458
+#define __NR_lsm_get_self_attr 459
+#define __NR_lsm_list_modules 461
+#define __NR_lsm_set_self_attr 460
+#define __NR_mseal 462
#define __NR_sysriscv __NR_arch_specific_syscall
#define __NR_riscv_flush_icache (__NR_sysriscv + 15)
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index e362bd0e..6991a89c 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -242,6 +242,7 @@
#define __NR_accept4 242
#define __NR_recvmmsg 243
#define __NR_arch_specific_syscall 244
+#define __NR_riscv_hwprobe 258
#define __NR_wait4 260
#define __NR_prlimit64 261
#define __NR_fanotify_init 262
@@ -304,6 +305,16 @@
#define __NR_set_mempolicy_home_node 450
#define __NR_cachestat 451
#define __NR_fchmodat2 452
+#define __NR_map_shadow_stack 453
+#define __NR_futex_wake 454
+#define __NR_futex_wait 455
+#define __NR_futex_requeue 456
+#define __NR_statmount 457
+#define __NR_listmount 458
+#define __NR_lsm_get_self_attr 459
+#define __NR_lsm_list_modules 461
+#define __NR_lsm_set_self_attr 460
+#define __NR_mseal 462
#define __NR_sysriscv __NR_arch_specific_syscall
#define __NR_riscv_flush_icache (__NR_sysriscv + 15)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-04 19:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-04 19:53 [musl] [PATCH] Update syscalls for r32/rv64 from kernel 6.4 through 6.10 Khem Raj
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).