From 29c3f8becb875de308be9238f5ca0ba9f35eb7bd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 12 Mar 2025 15:52:48 +0900 Subject: helper/seccomp: improve error handling This passes both errno and libseccomp return value. Signed-off-by: Ophestra --- helper/seccomp/seccomp-build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper/seccomp/seccomp-build.h') diff --git a/helper/seccomp/seccomp-build.h b/helper/seccomp/seccomp-build.h index 0ae201d2..7f1be761 100644 --- a/helper/seccomp/seccomp-build.h +++ b/helper/seccomp/seccomp-build.h @@ -20,4 +20,4 @@ typedef enum { } f_syscall_opts; extern void F_println(char *v); -int32_t f_build_filter(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_syscall_opts opts); \ No newline at end of file -- cgit v1.3.1