package seccomp

import "github.com/containerd/containerd/pkg/seccomp"

Index

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.

Source Files

seccomp.go seccomp_unsupported.go

Version
v1.6.0-beta.4
Published
Dec 14, 2021
Platform
js/wasm
Last checked
19 seconds ago

Tools for package owners.