infra

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGetPtraceScope     = fmt.Errorf("error when get ptrace scope")
	ErrGetCapability      = fmt.Errorf("error when get capability")
	ErrBadPtraceScope     = fmt.Errorf("bad ptrace scope")
	ErrBadCapability      = fmt.Errorf("bad capability")
	ErrUnknownPtraceScope = fmt.Errorf("unknown ptrace scope")
)

Functions

func AutoSu

func AutoSu()

func CheckPtraceCapability

func CheckPtraceCapability() error

func GetPtraceScope

func GetPtraceScope() (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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