aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/seccomp/seccomp-build.h
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-04-08 01:59:45 +0900
committerOphestra <cat@gensokyo.uk>2025-04-08 01:59:45 +0900
commit584405f7ccd4c8c0e63762e113f4650f2abd469e (patch)
treef72d79d1a90e9bffe8f5c975e564ad40c602f2f7 /sandbox/seccomp/seccomp-build.h
parent50127ed5f9bc89f38c7d5d1aa06b4d99229b9c64 (diff)
sandbox/seccomp: rename flag type and constants
The names are ambiguous. Rename them to make more sense. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/seccomp/seccomp-build.h')
-rw-r--r--sandbox/seccomp/seccomp-build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/seccomp/seccomp-build.h b/sandbox/seccomp/seccomp-build.h
index d6e53fbd..0b3a0952 100644
--- a/sandbox/seccomp/seccomp-build.h
+++ b/sandbox/seccomp/seccomp-build.h
@@ -17,7 +17,7 @@ typedef enum {
F_LINUX32 = 1 << 6,
F_CAN = 1 << 7,
F_BLUETOOTH = 1 << 8,
-} f_syscall_opts;
+} f_filter_opts;
extern void f_println(char *v);
-int32_t f_build_filter(int *ret_p, int fd, uint32_t arch, uint32_t multiarch, f_syscall_opts opts); \ No newline at end of file
+int32_t f_build_filter(int *ret_p, int fd, uint32_t arch, uint32_t multiarch, f_filter_opts opts); \ No newline at end of file