diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-12 15:52:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-12 15:52:48 +0900 |
| commit | 29c3f8becb875de308be9238f5ca0ba9f35eb7bd (patch) | |
| tree | a0e59b8f753a2024b51f21d4079c9a56fb015834 /helper/seccomp/seccomp-build.h | |
| parent | be16970e770554b3c2191da41eb9bd4472b323e4 (diff) | |
helper/seccomp: improve error handling
This passes both errno and libseccomp return value.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/seccomp/seccomp-build.h')
| -rw-r--r-- | helper/seccomp/seccomp-build.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
