forked from security/hakurei
container: move syscall constants
These aren't missing from all targets. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -6,10 +6,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
O_PATH = 0x200000
|
|
||||||
|
|
||||||
PR_SET_NO_NEW_PRIVS = 0x26
|
|
||||||
|
|
||||||
CAP_SYS_ADMIN = 0x15
|
CAP_SYS_ADMIN = 0x15
|
||||||
CAP_SETPCAP = 0x8
|
CAP_SETPCAP = 0x8
|
||||||
)
|
)
|
||||||
|
|||||||
7
container/syscall_amd64.go
Normal file
7
container/syscall_amd64.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package container
|
||||||
|
|
||||||
|
const (
|
||||||
|
O_PATH = 0x200000
|
||||||
|
|
||||||
|
PR_SET_NO_NEW_PRIVS = 0x26
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user