diff --git a/container/syscall.go b/container/syscall.go index 791cffa..c30aa8f 100644 --- a/container/syscall.go +++ b/container/syscall.go @@ -6,10 +6,6 @@ import ( ) const ( - O_PATH = 0x200000 - - PR_SET_NO_NEW_PRIVS = 0x26 - CAP_SYS_ADMIN = 0x15 CAP_SETPCAP = 0x8 ) diff --git a/container/syscall_amd64.go b/container/syscall_amd64.go new file mode 100644 index 0000000..4b8e2df --- /dev/null +++ b/container/syscall_amd64.go @@ -0,0 +1,7 @@ +package container + +const ( + O_PATH = 0x200000 + + PR_SET_NO_NEW_PRIVS = 0x26 +)