Documentation ¶
Index ¶
Constants ¶
View Source
const AuditArch = C.AUDIT_ARCH_X86_64
AuditArch contains the architecture value for this architecture
View Source
const X32SyscallBit = uint32(C.__X32_SYSCALL_BIT)
X32SyscallBit contains the bit that syscalls for the 32bit ABI will have set
Variables ¶
This section is empty.
Functions ¶
func CheckGetSeccomp ¶
func CheckGetSeccomp() error
CheckGetSeccomp will check if we have seccomp available
func CheckSetSeccompModeFilter ¶
func CheckSetSeccompModeFilter() error
CheckSetSeccompModeFilter will check if we have seccomp mode filter available
func CheckSetSeccompModeFilterWithSeccomp ¶
func CheckSetSeccompModeFilterWithSeccomp() error
CheckSetSeccompModeFilterWithSeccomp will check if we have the seccomp syscall available
func CheckSetSeccompModeTsync ¶
func CheckSetSeccompModeTsync() error
CheckSetSeccompModeTsync will check that we can set tsync
func InstallSeccomp ¶
InstallSeccomp will install seccomp using native methods
func NoNewPrivs ¶
func NoNewPrivs() error
NoNewPrivs will use prctl to stop new privileges using native methods
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.