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.3
Published
Apr 25, 2022
Platform
windows/amd64
Last checked
11 seconds ago

Tools for package owners.