aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/syscall.go
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/syscall.go')
-rw-r--r--sandbox/syscall.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/syscall.go b/sandbox/syscall.go
index a17928f7..dd1679f0 100644
--- a/sandbox/syscall.go
+++ b/sandbox/syscall.go
@@ -3,6 +3,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
)