jailer

package
v2.2.5-rc13+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 14 Imported by: 243

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

func WhitelistEnvvars

func WhitelistEnvvars(envvars []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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