From 3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358 Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Sun, 18 Feb 2024 03:26:49 +0100 Subject: 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 --- arch/x32/bits/syscall.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/x32') diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index d239c587..1d065eea 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -313,6 +313,7 @@ #define __NR_futex_waitv (0x40000000 + 449) #define __NR_set_mempolicy_home_node (0x40000000 + 450) #define __NR_cachestat (0x40000000 + 451) +#define __NR_fchmodat2 (0x40000000 + 452) #define __NR_rt_sigaction (0x40000000 + 512) -- cgit 1.4.1