diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-12 15:18:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-12 15:18:52 +0900 |
| commit | be16970e770554b3c2191da41eb9bd4472b323e4 (patch) | |
| tree | a1c76f09b55ce44a6e0997147e24f0713c332089 /helper/seccomp/seccomp-export.h | |
| parent | df266527f17987af4bf275cc04990bfb89a82f4a (diff) | |
helper/seccomp: seccomp_load on negative fd
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/seccomp/seccomp-export.h')
| -rw-r--r-- | helper/seccomp/seccomp-export.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/helper/seccomp/seccomp-export.h b/helper/seccomp/seccomp-export.h deleted file mode 100644 index df158d91..00000000 --- a/helper/seccomp/seccomp-export.h +++ /dev/null @@ -1,23 +0,0 @@ -#include <stdint.h> -#include <seccomp.h> - -#if (SCMP_VER_MAJOR < 2) || \ - (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 5) || \ - (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR == 5 && SCMP_VER_MICRO < 1) -#error This package requires libseccomp >= v2.5.1 -#endif - -typedef enum { - F_VERBOSE = 1 << 0, - F_EXT = 1 << 1, - F_DENY_NS = 1 << 2, - F_DENY_TTY = 1 << 3, - F_DENY_DEVEL = 1 << 4, - F_MULTIARCH = 1 << 5, - F_LINUX32 = 1 << 6, - F_CAN = 1 << 7, - F_BLUETOOTH = 1 << 8, -} f_syscall_opts; - -extern void F_println(char *v); -int32_t f_export_bpf(int fd, uint32_t arch, uint32_t multiarch, f_syscall_opts opts);
\ No newline at end of file |
