aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/syscall_386.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 20:21:14 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 20:21:14 +0900
commit5c2b63a7f1fdfdc46312c05f083c604b4c8f47e2 (patch)
tree2a1e440156d6027c3b7a16f1b77c002ed3a4a388 /container/syscall_386.go
parent9fd97e71d0330d6b6509f28686cf53825bc80941 (diff)
container: add 386 constants
While it is unlikely a use case for hakurei on i686 exists, it does not hurt to have this support. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/syscall_386.go')
-rw-r--r--container/syscall_386.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/container/syscall_386.go b/container/syscall_386.go
new file mode 100644
index 00000000..4b8e2df3
--- /dev/null
+++ b/container/syscall_386.go
@@ -0,0 +1,7 @@
+package container
+
+const (
+ O_PATH = 0x200000
+
+ PR_SET_NO_NEW_PRIVS = 0x26
+)