system

package
v0.0.0-...-78a1b36 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearKeepCaps

func ClearKeepCaps() error

func Execv

func Execv(cmd string, args []string, env []string) error

func GetClockTicks

func GetClockTicks() int

func GetParentDeathSignal

func GetParentDeathSignal() (int, error)

func GetProcessStartTime

func GetProcessStartTime(pid int) (string, error)

look in /proc to find the process start time so that we can verify that this pid has started after ourself

func Lgetxattr

func Lgetxattr(path string, attr string) ([]byte, error)

Returns a nil slice and nil error if the xattr is not set

func Lsetxattr

func Lsetxattr(path string, attr string, data []byte, flags int) error

func ParentDeathSignal

func ParentDeathSignal(sig uintptr) error

func SetKeepCaps

func SetKeepCaps() error

func Setctty

func Setctty() error

func Setns

func Setns(fd uintptr, flags uintptr) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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