package system

import "github.com/moby/buildkit/util/system"

Index

Constants

const DefaultPathEnv = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

DefaultPathEnv is unix style list of directories to search for executables. Each directory is separated from the next by a colon ':' character .

Functions

func CheckSystemDriveAndRemoveDriveLetter

func CheckSystemDriveAndRemoveDriveLetter(path string) (string, error)

CheckSystemDriveAndRemoveDriveLetter verifies that a path, if it includes a drive letter, is the system drive. This is a no-op on Linux.

func SeccompSupported

func SeccompSupported() bool

Source Files

path_unix.go seccomp_noseccomp.go

Version
v0.3.3
Published
Nov 21, 2018
Platform
js/wasm
Last checked
5 seconds ago

Tools for package owners.