filter

package
v0.0.0-...-ff2c174 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package filter defines all syscalls the sandbox is allowed to make to the host, and installs seccomp filters to prevent prohibited syscalls in case it's compromised.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(opt Options) error

Install installs seccomp filters for based on the given platform.

func Report

func Report(msg string)

Report writes a warning message to the log.

Types

type Options

type Options struct {
	Platform      platform.Platform
	HostNetwork   bool
	ProfileEnable bool
	ControllerFD  int
}

Options are seccomp filter related options.

Jump to

Keyboard shortcuts

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