system

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Privilege

type Privilege struct {
	// contains filtered or unexported fields
}

func GetPrivilege

func GetPrivilege() *Privilege

GetPrivilege returns privilege structure

func (*Privilege) DropPrivilege

func (p *Privilege) DropPrivilege() error

DropPrivilege drops privileges for the current process

func (*Privilege) IncreasePrivilege

func (p *Privilege) IncreasePrivilege() error

IncreasePrivilege increases privileges for the current process

func (*Privilege) Init

func (p *Privilege) Init()

Init initialises privilege object

Jump to

Keyboard shortcuts

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