diff options
Diffstat (limited to 'helper/seccomp/seccomp-export.c')
| -rw-r--r-- | helper/seccomp/seccomp-export.c | 8 |
1 files changed, 0 insertions, 8 deletions
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; |
