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_linux.go

Version
v1.6.7
Published
Aug 4, 2022
Platform
linux/amd64
Imports
2 packages
Last checked
4 minutes ago

Tools for package owners.