package system

import "github.com/docker/docker/pkg/system"

Index

Variables

var (
	ErrNotSupportedPlatform = errors.New("platform and architecture is not supported")
)

Functions

func ClearKeepCaps

func ClearKeepCaps() error

func CloseFdsFrom

func CloseFdsFrom(minFd int) error

func CreateMasterAndConsole

func CreateMasterAndConsole() (*os.File, string, error)

func GetClockTicks

func GetClockTicks() int

func GetLastAccess

func GetLastAccess(stat *syscall.Stat_t) syscall.Timespec

func GetLastModification

func GetLastModification(stat *syscall.Stat_t) syscall.Timespec

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 Gettid

func Gettid() int

func LUtimesNano

func LUtimesNano(path string, ts []syscall.Timespec) error

func Lgetxattr

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

func Lsetxattr

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

func SetCloneFlags

func SetCloneFlags(cmd *exec.Cmd, flag uintptr)

func SetKeepCaps

func SetKeepCaps() error

func UsetCloseOnExec

func UsetCloseOnExec(fd uintptr) error

func UtimesNano

func UtimesNano(path string, ts []syscall.Timespec) error

Source Files

errors.go fds_unsupported.go proc.go stat_unsupported.go unsupported.go utimes_unsupported.go xattrs_unsupported.go

Version
v1.1.0
Published
Jul 3, 2014
Platform
windows/amd64
Imports
10 packages
Last checked
35 minutes ago

Tools for package owners.