aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/syscall_extra.go
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syscall_extra.go')
-rw-r--r--ext/syscall_extra.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/syscall_extra.go b/ext/syscall_extra.go
new file mode 100644
index 00000000..89adf1f3
--- /dev/null
+++ b/ext/syscall_extra.go
@@ -0,0 +1,9 @@
+//go:build !(arm64 || riscv64 || mips || mipsle || mips64 || mips64le || ppc64 || ppc64le || s390x || loong64)
+
+package ext
+
+const (
+ O_PATH = 0x200000
+
+ PR_SET_NO_NEW_PRIVS = 0x26
+)