container/seccomp: move personality constants

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-07-07 12:44:32 +09:00
parent 2c7b7ad845
commit 84e8142a2d
2 changed files with 6 additions and 6 deletions

View File

@@ -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,