aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/libseccomp-helper.h
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-15 16:53:10 +0900
committerOphestra <cat@gensokyo.uk>2025-11-15 17:06:43 +0900
commit41b49137a8d11183c0d13ea32527f58f9c1a3dec (patch)
tree4b632dd654770bc55c409f8da671c89658f84ceb /container/seccomp/libseccomp-helper.h
parentc761e1de4dcf87b9106e4f70cb89217a81aa2f9f (diff)
.clang-format: do not limit line length
This hard limit destroys readability in some places. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/libseccomp-helper.h')
-rw-r--r--container/seccomp/libseccomp-helper.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/container/seccomp/libseccomp-helper.h b/container/seccomp/libseccomp-helper.h
index 0fad2d4a..72e29771 100644
--- a/container/seccomp/libseccomp-helper.h
+++ b/container/seccomp/libseccomp-helper.h
@@ -1,7 +1,7 @@
#include <seccomp.h>
#include <stdint.h>
-#if (SCMP_VER_MAJOR < 2) || (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 5) || \
+#if (SCMP_VER_MAJOR < 2) || (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 5) || \
(SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR == 5 && SCMP_VER_MICRO < 1)
#error This package requires libseccomp >= v2.5.1
#endif
@@ -19,7 +19,8 @@ struct hakurei_syscall_rule {
};
extern void *hakurei_scmp_allocate(uintptr_t f, size_t len);
-int32_t hakurei_scmp_make_filter(int *ret_p, uintptr_t allocate_p,
- uint32_t arch, uint32_t multiarch,
- struct hakurei_syscall_rule *rules,
- size_t rules_sz, hakurei_export_flag flags); \ No newline at end of file
+int32_t hakurei_scmp_make_filter(
+ int *ret_p, uintptr_t allocate_p,
+ uint32_t arch, uint32_t multiarch,
+ struct hakurei_syscall_rule *rules,
+ size_t rules_sz, hakurei_export_flag flags);