seccomp

package
v1.3.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled returns whether seccomp is enabled.

func LoadProfileFromFile

func LoadProfileFromFile(profile string, generator *generate.Generator) error

LoadProfileFromFile loads seccomp rules from json file and fill in provided OCI configuration.

func LoadSeccompConfig

func LoadSeccompConfig(config *specs.LinuxSeccomp, noNewPrivs bool, errNo int16) error

LoadSeccompConfig loads seccomp configuration filter for the current process.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL