sys

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

View Source
const (
	SYS_SYNCFS = 306
)

Variables

This section is empty.

Functions

func CloseOnExec

func CloseOnExec(fd int, set bool) error

CloseOnExec sets or clears FD_CLOEXEC flag on a file descriptor

func HasChrootCapability added in v0.5.6

func HasChrootCapability() bool

HasChrootCapability checks if the current process has the CAP_SYS_CHROOT capability

func Syncfs added in v0.5.4

func Syncfs(fd int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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