Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func IsEnabled() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsEnabled ¶ func IsEnabled() bool IsEnabled checks whether seccomp support is enabled. On Linux, it returns true if the kernel has been configured to support seccomp (kernel options CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are set). On non-Linux, it always returns false. Types ¶ This section is empty. Source Files ¶ View all Source files seccomp.go seccomp_linux.go Click to show internal directories. Click to hide internal directories.