package common
import "github.com/coreos/rkt/stage1/common"
Index ¶
- func PrepareEnterCmd(enterStage2 bool) []string
- func WithClearedCloExec(lfd int, f func() error) error
- func WritePid(pid int, filename string) error
Functions ¶
func PrepareEnterCmd ¶
PrepareEnterCmd retrieves enter argument and prepare a command list to further run a command in stage1 context
func WithClearedCloExec ¶
WithClearedCloExec executes a given function in between setting and unsetting the close-on-exit flag on the given file descriptor
func WritePid ¶
WritePid writes the given pid to $PWD/{filename}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
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.