Documentation ¶
Index ¶
- Variables
- func ClearKeepCaps() error
- func CloseFdsFrom(minFd int) error
- func CreateMasterAndConsole() (*os.File, string, error)
- func GetClockTicks() int
- func GetLastAccess(stat *syscall.Stat_t) syscall.Timespec
- func GetLastModification(stat *syscall.Stat_t) syscall.Timespec
- func GetProcessStartTime(pid int) (string, error)
- func Gettid() int
- func LUtimesNano(path string, ts []syscall.Timespec) error
- func Lgetxattr(path string, attr string) ([]byte, error)
- func Lsetxattr(path string, attr string, data []byte, flags int) error
- func SetCloneFlags(cmd *exec.Cmd, flag uintptr)
- func SetKeepCaps() error
- func UsetCloseOnExec(fd uintptr) error
- func UtimesNano(path string, ts []syscall.Timespec) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotSupportedPlatform = errors.New("platform and architecture is not supported")
)
Functions ¶
func ClearKeepCaps ¶ added in v1.0.1
func ClearKeepCaps() error
func CloseFdsFrom ¶ added in v0.11.0
func CreateMasterAndConsole ¶ added in v0.11.0
func GetClockTicks ¶ added in v0.11.0
func GetClockTicks() int
func GetProcessStartTime ¶ added in v0.10.0
look in /proc to find the process start time so that we can verify that this pid has started after ourself
func SetCloneFlags ¶
func SetKeepCaps ¶ added in v1.0.1
func SetKeepCaps() error
func UsetCloseOnExec ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.