aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/syscall_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syscall_other.go')
-rw-r--r--ext/syscall_other.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/syscall_other.go b/ext/syscall_other.go
new file mode 100644
index 00000000..b2518d64
--- /dev/null
+++ b/ext/syscall_other.go
@@ -0,0 +1,11 @@
+//go:build arm64 || riscv64 || mips || mipsle || mips64 || mips64le || ppc64 || ppc64le || s390x || loong64
+
+package ext
+
+import "syscall"
+
+const (
+ O_PATH = syscall.O_PATH
+
+ PR_SET_NO_NEW_PRIVS = syscall.PR_SET_NO_NEW_PRIVS
+)