Documentation ¶
Index ¶
- func Cp(from, to string) error
- func DropCapabilities(keepCaps map[uint]bool) error
- func Execv(cmd string, args []string, env []string) error
- func ExistsDir(dir string) bool
- func ExistsFile(file string) bool
- func GetMountsByRoot(rootDir string) ([]*mount.Info, error)
- func IsDirEmpty(dir string) (bool, error)
- func LookupGroup(id string) (int, error)
- func LookupUser(id string) (int, error)
- func Mknod(path string, mode uint32, dev int) error
- func RunCmd(name string, arg ...string) error
- func Setgid(id int) error
- func Setuid(id int) error
- func Symlink(oldname, newname string) error
- func UmountRoot(rootDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropCapabilities ¶
func ExistsFile ¶
func IsDirEmpty ¶
func LookupGroup ¶
func LookupUser ¶
func UmountRoot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.