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

via libc-commits libc-commits at lists.llvm.org
Tue Apr 23 13:02:32 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: David CARLIER (devnexen)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/89819.diff


1 Files Affected:

- (modified) libc/config/linux/syscall_numbers.h.inc (+4) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list