From a70daf22504f80c4e3dfbc2f34cf95db4dbb5879 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 21 Mar 2025 12:58:38 +0900 Subject: sandbox: resolve inverted flags in op Signed-off-by: Ophestra --- sandbox/syscall.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sandbox/syscall.go') diff --git a/sandbox/syscall.go b/sandbox/syscall.go index a17928f7..dd1679f0 100644 --- a/sandbox/syscall.go +++ b/sandbox/syscall.go @@ -2,6 +2,12 @@ package sandbox import "syscall" +const ( + O_PATH = 0x200000 + PR_SET_NO_NEW_PRIVS = 0x26 + CAP_SYS_ADMIN = 0x15 +) + const ( SUID_DUMP_DISABLE = iota SUID_DUMP_USER -- cgit v1.3.1