package common

import "github.com/coreos/rkt/stage1/common"

Index

Functions

func PrepareEnterCmd

func PrepareEnterCmd(enterStage2 bool) []string

PrepareEnterCmd retrieves enter argument and prepare a command list to further run a command in stage1 context

func WithClearedCloExec

func WithClearedCloExec(lfd int, f func() error) error

WithClearedCloExec executes a given function in between setting and unsetting the close-on-exit flag on the given file descriptor

func WritePid

func WritePid(pid int, filename string) error

WritePid writes the given pid to $PWD/{filename}

Source Files

run.go

Directories

PathSynopsis
stage1/common/ssh
stage1/common/types
Version
v1.30.0 (latest)
Published
Apr 13, 2018
Platform
linux/amd64
Imports
8 packages
Last checked
4 days ago

Tools for package owners.