seccomp

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 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