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.5.10
Published
Mar 2, 2022
Platform
js/wasm
Last checked
11 minutes ago

Tools for package owners.