jailer

package
v2.2.13-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 14 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

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