aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/syscall_amd64.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-07 13:23:01 +0900
committerOphestra <cat@gensokyo.uk>2025-07-07 13:23:01 +0900
commit8ebedbd88ae2cf0da1c787fa456455065b7dc3a2 (patch)
treeb298b7492a21e8a11c64df35821626d15084ee4f /container/syscall_amd64.go
parent84e8142a2de4acae0cb1e09545b172efa061a0ae (diff)
container: move syscall constants
These aren't missing from all targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/syscall_amd64.go')
-rw-r--r--container/syscall_amd64.go7
1 files changed, 7 insertions, 0 deletions
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
+)