suid

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// fd of the pipe to be used to return the pid of the forked child to the
	// device manager.
	PipeToParentFD = 3
)
View Source
const SavedArgs = "V23_SAVED_ARGS"

Variables

This section is empty.

Functions

func Run

func Run(environ []string) error

Types

type ArgsSavedForTest

type ArgsSavedForTest struct {
	Uname    string
	Workpace string
	Run      string
	LogDir   string
}

type WorkParameters

type WorkParameters struct {
	// contains filtered or unexported fields
}

func (*WorkParameters) Chown

func (hw *WorkParameters) Chown() error

Chown is only availabe on UNIX platforms so this file has a build restriction.

func (*WorkParameters) Exec

func (hw *WorkParameters) Exec() error

func (*WorkParameters) Kill

func (hw *WorkParameters) Kill() error

func (*WorkParameters) ProcessArguments

func (wp *WorkParameters) ProcessArguments(fs *flag.FlagSet, env []string) error

ParseArguments populates the WorkParameter object from the provided args and env strings.

func (*WorkParameters) Remove

func (hw *WorkParameters) Remove() error

Jump to

Keyboard shortcuts

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