privdrop

package
v0.137.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailed = errors.New("failed to initialize privilege dropping")

Functions

func Initialize

func Initialize(username string) error

Types

type Chown

type Chown struct {
	UID int
	GID int
}
var (
	SysProcAttr *syscall.SysProcAttr
	ChownTo     *Chown
)

Jump to

Keyboard shortcuts

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