aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/seccomp/seccomp-build.c
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-06-25 23:43:42 +0900
committerOphestra <cat@gensokyo.uk>2025-06-25 23:43:42 +0900
commit863bf69ad32e44d06c654c8cfae875e37b8e5e5a (patch)
tree181641ed4f489cc8a0900a7247cf995526106b1d /sandbox/seccomp/seccomp-build.c
parent0e957cc9c1578ec5c2dd56b664c6731e9d032921 (diff)
treewide: reapply clang-format
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/seccomp/seccomp-build.c')
-rw-r--r--sandbox/seccomp/seccomp-build.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sandbox/seccomp/seccomp-build.c b/sandbox/seccomp/seccomp-build.c
index 6eb3c53f..3fe47df5 100644
--- a/sandbox/seccomp/seccomp-build.c
+++ b/sandbox/seccomp/seccomp-build.c
@@ -28,8 +28,8 @@ struct hakurei_syscall_act {
#define SECCOMP_RULESET_ADD(ruleset) \
do { \
- if (opts & HAKUREI_VERBOSE) \
- hakurei_println("adding seccomp ruleset \"" #ruleset "\""); \
+ if (opts & HAKUREI_VERBOSE) \
+ hakurei_println("adding seccomp ruleset \"" #ruleset "\""); \
for (int i = 0; i < LEN(ruleset); i++) { \
assert(ruleset[i].m_errno == EPERM || ruleset[i].m_errno == ENOSYS); \
\
@@ -50,8 +50,8 @@ struct hakurei_syscall_act {
} \
} while (0)
-int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch, uint32_t multiarch,
- hakurei_filter_opts opts) {
+int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch,
+ uint32_t multiarch, hakurei_filter_opts opts) {
int32_t res = 0; /* refer to resPrefix for message */
int allow_multiarch = opts & HAKUREI_MULTIARCH;
int allowed_personality = PER_LINUX;