aboutsummaryrefslogtreecommitdiffhomepage
path: root/container
diff options
context:
space:
mode:
Diffstat (limited to 'container')
-rw-r--r--container/syscall.go4
-rw-r--r--container/syscall_amd64.go7
2 files changed, 7 insertions, 4 deletions
diff --git a/container/syscall.go b/container/syscall.go
index 791cffa6..c30aa8f3 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 00000000..4b8e2df3
--- /dev/null
+++ b/container/syscall_amd64.go
@@ -0,0 +1,7 @@
+package container
+
+const (
+ O_PATH = 0x200000
+
+ PR_SET_NO_NEW_PRIVS = 0x26
+)