gvisorgvisor.dev/gvisor/runsc/fsgofer/filter Index | Files

package filter

import "gvisor.dev/gvisor/runsc/fsgofer/filter"

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

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.

Source Files

config.go config_amd64.go config_cgo.go config_profile.go extra_filters.go filter.go

Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
37 minutes ago

Tools for package owners.