filter

package
v0.0.0-...-2b9c8bd Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 3

Documentation

Overview

Package filter defines all syscalls the gofer is allowed to make, 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.

Types

type Options

type Options struct {
	UDSOpenEnabled   bool
	UDSCreateEnabled bool
	ProfileEnabled   bool
	DirectFS         bool
	CgoEnabled       bool
}

Options are seccomp filter related options.

Jump to

Keyboard shortcuts

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