diff options
author | Gaƫl PORTAY <gael.portay@rtone.fr> | 2024-02-18 03:26:49 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-02-22 19:24:18 -0500 |
commit | 3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358 (patch) | |
tree | f43681df34aadca4a44ff8af4a0d56eef00eace3 /arch/riscv64 | |
parent | fb9d976cc2ae510d2c3c763ed7db9bdb5269e38d (diff) | |
download | musl-3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358.tar.gz musl-3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358.tar.xz musl-3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358.zip |
bits/syscall.h: add __NR_fchmodat2 from linux v6.6
the linux fchmodat syscall lacks a flag argument that is necessary to implement the posix api, see linux commit 09da082b07bbae1c11d9560c8502800039aebcea fs: Add fchmodat2() linux commit 78252deb023cf0879256fcfbafe37022c390762b arch: Register fchmodat2, usually as syscall 452
Diffstat (limited to 'arch/riscv64')
-rw-r--r-- | arch/riscv64/bits/syscall.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in index f4901758..e362bd0e 100644 --- a/arch/riscv64/bits/syscall.h.in +++ b/arch/riscv64/bits/syscall.h.in @@ -303,6 +303,7 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 #define __NR_sysriscv __NR_arch_specific_syscall #define __NR_riscv_flush_icache (__NR_sysriscv + 15) |