process

package
v0.0.0-...-fc031ab Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handlers [1024]func(*Process, *seccomp.Notif) error

Functions

This section is empty.

Types

type Process

type Process struct {
	PID    int
	Exited chan struct{}
	// contains filtered or unexported fields
}

func New

func New(pid int) (*Process, error)

New creates a new process with the given PID.

func (*Process) LogValue

func (p *Process) LogValue() slog.Value

func (*Process) Wait

func (p *Process) Wait() error

Wait waits for the process to exit and cleans up resources in the end.

Jump to

Keyboard shortcuts

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