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.7.18
Published
Jun 5, 2024
Platform
js/wasm
Last checked
10 minutes ago

Tools for package owners.