os

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ReexecSelfSupported = true
View Source
const (
	SigUpdate = unix.SIGUSR1
)

Variables

This section is empty.

Functions

func HasAdminPrivileges

func HasAdminPrivileges() bool

func HasCapabilities

func HasCapabilities(caps ...cap.Value) bool

func ReexecSelf

func ReexecSelf() error

func SetSysctl

func SetSysctl(name string, value any) error

func SetSysctlMap

func SetSysctlMap(m map[string]any) error

func SetupSignals

func SetupSignals(extraSignals ...os.Signal) chan os.Signal

Types

This section is empty.

Jump to

Keyboard shortcuts

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