sys

package
v0.0.0-...-2081a44 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MlockSupported bool = true

Functions

func GetCredentials

func GetCredentials(conn *net.UnixConn) (int32, uint32, uint32, error)

func GetTick

func GetTick() int64

func HasAnyProcess

func HasAnyProcess(wanted []string) bool

func ListProcessNames

func ListProcessNames() (names []string)

func LookupUid

func LookupUid(uid string, gid string) (int, int, error)

func MlockAll

func MlockAll() error

func SetHostname

func SetHostname(name string) error

func SocketPair

func SocketPair(typ int) (int, int, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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