helper/seccomp: do not call F_println if not verbose
This (slightly) improves performance. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user