From 123d7fbfd5a2955dc5042c0a85211e376d5a8e65 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 13 Oct 2025 18:49:58 +0900 Subject: container/seccomp: remove export pipe This was only useful when wrapping bwrap. Signed-off-by: Ophestra --- container/seccomp/libseccomp-helper.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'container/seccomp/libseccomp-helper.h') 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 -- cgit v1.3.1