From cfad02947d33ed17a1857ab1b33c7fd44cad8dc9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 19 Oct 2026 15:51:56 +0900 Subject: ext: add additional constants This removes the syscall cutoff thresholds, instead declaring all syscall number constants in package ext. This also removes two constants from package container which were inadvertently exported for 386 and amd64. Signed-off-by: Ophestra --- ext/syscall_other.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ext/syscall_other.go (limited to 'ext/syscall_other.go') 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 +) -- cgit v1.3.1