From fe7d208cf76fa6f24bb9d12ba29b5ed61d837ce3 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 13 Feb 2025 23:15:34 +0900 Subject: helper: use generic extra files interface This replaces the pipes object and integrates context into helper process lifecycle. Signed-off-by: Ophestra --- helper/seccomp/seccomp-export.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'helper/seccomp/seccomp-export.c') diff --git a/helper/seccomp/seccomp-export.c b/helper/seccomp/seccomp-export.c index 855c3bf0..5a3a56be 100644 --- a/helper/seccomp/seccomp-export.c +++ b/helper/seccomp/seccomp-export.c @@ -48,14 +48,6 @@ struct f_syscall_act { } \ } while (0) - -int f_tmpfile_fd() { - FILE *f = tmpfile(); - if (f == NULL) - return -1; - return fileno(f); -} - int32_t f_export_bpf(int fd, uint32_t arch, uint32_t multiarch, f_syscall_opts opts) { int32_t res = 0; // refer to resErr for meaning int allow_multiarch = opts & F_MULTIARCH; -- cgit v1.3.1