aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/seccomp/seccomp-export.h
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-25 13:19:38 +0900
committerOphestra <cat@gensokyo.uk>2025-01-25 13:19:38 +0900
commit7b96cd6ded2668b04c908737ff393b805d34cc5c (patch)
treeb78c76a9ca30efd78ca2cd6caf8b9b2c55bc80c1 /helper/seccomp/seccomp-export.h
parent163f15e93f009d15ecc2f93932e26728aff9904b (diff)
helper/seccomp: do not call F_println if not verbose
This (slightly) improves performance. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/seccomp/seccomp-export.h')
-rw-r--r--helper/seccomp/seccomp-export.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/helper/seccomp/seccomp-export.h b/helper/seccomp/seccomp-export.h
index 90640d8f..3a28b127 100644
--- a/helper/seccomp/seccomp-export.h
+++ b/helper/seccomp/seccomp-export.h
@@ -8,14 +8,15 @@
#endif
typedef enum {
- F_EXT = 1 << 0,
- F_DENY_NS = 1 << 1,
- F_DENY_TTY = 1 << 2,
- F_DENY_DEVEL = 1 << 3,
- F_MULTIARCH = 1 << 4,
- F_LINUX32 = 1 << 5,
- F_CAN = 1 << 6,
- F_BLUETOOTH = 1 << 7,
+ F_VERBOSE = 1 << 0,
+ F_EXT = 1 << 1,
+ F_DENY_NS = 1 << 2,
+ F_DENY_TTY = 1 << 3,
+ F_DENY_DEVEL = 1 << 4,
+ F_MULTIARCH = 1 << 5,
+ F_LINUX32 = 1 << 6,
+ F_CAN = 1 << 7,
+ F_BLUETOOTH = 1 << 8,
} f_syscall_opts;
extern void F_println(char *v);