jailer

package
v2.2.4-rc23+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const BaseJailPath = "/opt/jail"

Variables

This section is empty.

Functions

func CreateJail

func CreateJail(name string) error

CreateJail sets up the named directory for use with chroot

func GetUserCred

func GetUserCred() (*syscall.Credential, error)

GetUserCred looks up the user and provides it in syscall.Credential

Types

This section is empty.

Jump to

Keyboard shortcuts

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