[libc-commits] [libc] [libc] adding linux SYS_fchmodat2 syscall. (PR #89819)

David CARLIER via libc-commits libc-commits at lists.llvm.org
Tue Apr 23 13:01:51 PDT 2024


https://github.com/devnexen created https://github.com/llvm/llvm-project/pull/89819

None

>From 983b70e2118956e6751e20e841a210d6de9ef54e Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen at gmail.com>
Date: Tue, 23 Apr 2024 21:00:28 +0100
Subject: [PATCH] [libc] adding linux SYS_fchmodat2 syscall.

---
 libc/config/linux/syscall_numbers.h.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libc/config/linux/syscall_numbers.h.inc b/libc/config/linux/syscall_numbers.h.inc
index 9f910c5f9042a8..4a19d9a08875e8 100644
--- a/libc/config/linux/syscall_numbers.h.inc
+++ b/libc/config/linux/syscall_numbers.h.inc
@@ -338,6 +338,10 @@
 #define SYS_fchmodat __NR_fchmodat
 #endif
 
+#ifdef __NR_fchmodat2
+#define SYS_fchmodat2 __NR_fchmodat2
+#endif
+
 #ifdef __NR_fchown
 #define SYS_fchown __NR_fchown
 #endif



More information about the libc-commits mailing list