diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-21 12:58:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-21 12:58:38 +0900 |
| commit | a70daf22504f80c4e3dfbc2f34cf95db4dbb5879 (patch) | |
| tree | 00eeed4a80dd5e6aeb34f4d7784e9e920006fb2e /sandbox/syscall.go | |
| parent | 632b18addd56227682ab4e29d97dcaf5d9642454 (diff) | |
sandbox: resolve inverted flags in op
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/syscall.go')
| -rw-r--r-- | sandbox/syscall.go | 6 |
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 ) |
