[compiler-rt] [compiler-rt] adding fchmodat2 syscall introduced in Linux 6.6. (PR #82275)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 11:55:03 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff c98da372cb08cd3b3c513a6a86592b0f2892fb49 82f9b900e61f58fb6a9858ab51d81e0cf7d1d0bd -- compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
index fb3cef1a56..b3161690f3 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
@@ -2814,8 +2814,8 @@ PRE_SYSCALL(fchmodat2)(long dfd, const void *filename, long mode, long flag) {
__sanitizer::internal_strlen((const char *)filename) + 1);
}
-POST_SYSCALL(fchmodat2)(long res, long dfd, const void *filename, long mode, long flag) {}
-
+POST_SYSCALL(fchmodat2)
+(long res, long dfd, const void *filename, long mode, long flag) {}
PRE_SYSCALL(openat)(long dfd, const void *filename, long flags, long mode) {
if (filename)
``````````
</details>
https://github.com/llvm/llvm-project/pull/82275
More information about the llvm-commits
mailing list