From 5c901bb36041035575e2732b75a6759849bf4560 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 1 Mar 2026 15:28:33 +0100 Subject: update syscalls up to linux 6.19 Add two missing syscalls from v5.14 and new syscalls from v6.4 .. v6.19 add __NR_quotactl_fd from linux v5.14 see linux commit 9dfa23c8de925041b7b45637a1a80a98a22f19dd quota: Add mountpath based quota support linux commit fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1 quota: wire up quotactl_path linux commit 64c2c2c62f92339b176ea24403d8db16db36f9e6 quota: Change quotactl_path() systcall to an fd-based one add __NR_memfd_secret from linux v5.14 see linux commit 7bb7f2ac24a028b20fca466b9633847b289b156a arch, mm: wire up memfd_secret system call where relevant linux commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 mm: introduce memfd_secret system call to create "secret" memory areas note: was already added on x86 and s390, now on aarch64 and riscv*. add riscv __NR_riscv_hwprobe from linux v6.4 see linux commit ea3de9ce8aa280c5175c835bd3e94a3a9b814b74 RISC-V: Add a syscall for HW probing add x86_64 only map_shadow_stack syscall from linux v6.6 see linux commit c35559f94ebc3e3bc82e56e07161bb5986cd9761 x86/shstk: Introduce map_shadow_stack syscall add map_shadow_stack syscall from linux v6.7 see linux commit 2fd0ebad27bcd4c8fc61c61a98d4283c47054bcf arch: Reserve map_shadow_stack() syscall number for all architectures add futex_* syscalls from linux v6.7 see linux commit 9f6c532f59b20580acf8ede9409c9b8dce6e74e1 futex: Add sys_futex_wake() linux commit cb8c4312afca1b2dc64107e7e7cea81911055612 futex: Add sys_futex_wait() linux commit 0f4b5f972216782a4acb1ae00dcb55173847c2ff futex: Add sys_futex_requeue() add statmount, listmount syscalls from linux v6.8 see linux commit d8b0f5465012538cc4bb10ddc4affadbab73465b wire up syscalls for statmount/listmount linux commit b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d add listmount(2) syscall linux commit 46eae99ef73302f9fb3dddcd67c374b3dffe8fd6 add statmount(2) syscall add lsm_* syscalls from linux v6.8 see linux commit 5f42375904b08890f2e8e7cd955c5bf0c2c0d05a LSM: wireup Linux Security Module syscalls linux commit ad4aff9ec25f400608283c10d634cc4eeda83a02 LSM: Create lsm_list_modules system call linux commit a04a1198088a1378d0389c250cc684f649bcc91e LSM: syscalls for current process attributes add mseal syscall from linux v6.10 see linux commit ff388fe5c481d39cc0a5940d1ad46f7920f1d646 mseal: wire up mseal syscall on sh add sync_file_range2 from linux v6.10 see linux commit 30766f1105d6d2459c3b9fe34a3e52b637a72950 sh: rework sync_file_range ABI on x86 add uretprobe from linux v6.11 see linux commit 54233a4254036efca91b9bffbd398ecf39e90555 uretprobe: change syscall number, again add *xattrat syscalls from linux v6.13 see linux commit 6140be90ec70c39fa844741ca3cc807dd0866394 fs/xattr: add *at family syscalls add open_tree_attr from linux v6.15 see linux commit c4a16820d90199409c9bf01c4f794e1e9e8d8fd8 fs: add open_tree_attr() add file_{get,set}attr from linux v6.17 see linux commit be7efb2d20d67f334a7de2aef77ae6c69367e646 fs: introduce file_getattr and file_setattr syscalls on x86 add uprobe from linux v6.18 see linux commit 56101b69c9190667f473b9f93f8b6d8209aaa816 uprobes/x86: Add uprobe syscall to speed up uprobe add listns from linux v6.19 see linux commit b36d4b6aa88ef039647228b98c59a875e92f8c8e arch: hookup listns() system call --- arch/arm/bits/syscall.h.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'arch/arm/bits') diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index 157b304d..fb5fa975 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -396,6 +396,7 @@ #define __NR_process_madvise 440 #define __NR_epoll_pwait2 441 #define __NR_mount_setattr 442 +#define __NR_quotactl_fd 443 #define __NR_landlock_create_ruleset 444 #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 @@ -404,6 +405,24 @@ #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_set_self_attr 460 +#define __NR_lsm_list_modules 461 +#define __NR_mseal 462 +#define __NR_setxattrat 463 +#define __NR_getxattrat 464 +#define __NR_listxattrat 465 +#define __NR_removexattrat 466 +#define __NR_open_tree_attr 467 +#define __NR_file_getattr 468 +#define __NR_file_setattr 469 +#define __NR_listns 470 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 -- cgit v1.2.1