diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-07 12:44:32 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-07 12:44:32 +0900 |
| commit | 84e8142a2de4acae0cb1e09545b172efa061a0ae (patch) | |
| tree | c77f17d3e7e530d14545c311517f1a0b91189e3f /container/seccomp/syscall_extra_linux_amd64.go | |
| parent | 2c7b7ad84525988fb859f877f84d30b41aadbda3 (diff) | |
container/seccomp: move personality constants
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/syscall_extra_linux_amd64.go')
| -rw-r--r-- | container/seccomp/syscall_extra_linux_amd64.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/container/seccomp/syscall_extra_linux_amd64.go b/container/seccomp/syscall_extra_linux_amd64.go index 4b83a876..75e84b68 100644 --- a/container/seccomp/syscall_extra_linux_amd64.go +++ b/container/seccomp/syscall_extra_linux_amd64.go @@ -4,15 +4,9 @@ package seccomp #cgo linux pkg-config: --static libseccomp #include <seccomp.h> -#include <sys/personality.h> */ import "C" -const ( - PER_LINUX = C.PER_LINUX - PER_LINUX32 = C.PER_LINUX32 -) - var syscallNumExtra = map[string]int{ "umount": SYS_UMOUNT, "subpage_prot": SYS_SUBPAGE_PROT, |
