From 584405f7ccd4c8c0e63762e113f4650f2abd469e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 8 Apr 2025 01:59:45 +0900 Subject: sandbox/seccomp: rename flag type and constants The names are ambiguous. Rename them to make more sense. Signed-off-by: Ophestra --- sandbox/seccomp/seccomp-build.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sandbox/seccomp/seccomp-build.h') 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 -- cgit v1.3.1