mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove clone_vfork
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
5f84738ef1
commit
f00f374138
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ func deletePidFile() error {
|
|||
func createCommand(container *libcontainer.Container, console string, args []string) *exec.Cmd {
|
||||
command := exec.Command("nsinit", append([]string{"init", console}, args...)...)
|
||||
command.SysProcAttr = &syscall.SysProcAttr{
|
||||
Cloneflags: uintptr(getNamespaceFlags(container.Namespaces) | syscall.CLONE_VFORK), // we need CLONE_VFORK so we can wait on the child
|
||||
Cloneflags: uintptr(getNamespaceFlags(container.Namespaces)),
|
||||
}
|
||||
return command
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue