Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { *exec.Cmd UseNewuidmap bool UidMappings []specs.LinuxIDMapping UseNewgidmap bool GidMappings []specs.LinuxIDMapping GidMappingsEnableSetgroups bool Setsid bool Setpgrp bool Ctty *os.File OOMScoreAdj *int Hook func(pid int) error }
Cmd wraps an exec.Cmd created by the reexec package in unshare(), and handles setting ID maps and other related settings by triggering initialization code in the child.
func (*Cmd) CombinedOutput ¶
Click to show internal directories.
Click to hide internal directories.