diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-13 18:49:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-13 18:51:35 +0900 |
| commit | 123d7fbfd5a2955dc5042c0a85211e376d5a8e65 (patch) | |
| tree | 7e03e35309083b81873f3cf1939d2f4d27d41659 /container/seccomp/libseccomp-helper.h | |
| parent | 7638a44fa613f23434318bdf136723aa010e8638 (diff) | |
container/seccomp: remove export pipe
This was only useful when wrapping bwrap.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/libseccomp-helper.h')
| -rw-r--r-- | container/seccomp/libseccomp-helper.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/container/seccomp/libseccomp-helper.h b/container/seccomp/libseccomp-helper.h index 330fc99b..0fad2d4a 100644 --- a/container/seccomp/libseccomp-helper.h +++ b/container/seccomp/libseccomp-helper.h @@ -18,7 +18,8 @@ struct hakurei_syscall_rule { struct scmp_arg_cmp *arg; }; -int32_t hakurei_export_filter(int *ret_p, int fd, uint32_t arch, - uint32_t multiarch, - struct hakurei_syscall_rule *rules, - size_t rules_sz, hakurei_export_flag flags);
\ No newline at end of file +extern void *hakurei_scmp_allocate(uintptr_t f, size_t len); +int32_t hakurei_scmp_make_filter(int *ret_p, uintptr_t allocate_p, + uint32_t arch, uint32_t multiarch, + struct hakurei_syscall_rule *rules, + size_t rules_sz, hakurei_export_flag flags);
\ No newline at end of file |
