seccomp

package
v0.0.0-...-b325cef Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFilter

func CreateFilter(syscalls []string) (*libseccomp.ScmpFilter, error)

CreateFilter creates a seccomp filter that allows only given syscalls

func ReadProfile

func ReadProfile(path string) ([]string, error)

ReadProfile reads secoomp profile from given path, returns list of syscalls from profile

Types

This section is empty.

Jump to

Keyboard shortcuts

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