moby--moby/execdriver
Alexander Larsson 5c9b28db18 libcontainer: Don't use UsetCloseOnExec, it is racy
We can't keep file descriptors without close-on-exec except with
syscall.ForkLock held, as otherwise they could leak by accident into
other children from forks in other threads.

Instead we just use Cmd.ExtraFiles which handles all this for us.

This fixes https://github.com/dotcloud/docker/issues/4493

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-03-06 14:10:32 +01:00
..
lxc fix docker info with lxc 1.0.0 2014-02-28 00:32:58 +00:00
native libcontainer: Don't use UsetCloseOnExec, it is racy 2014-03-06 14:10:32 +01:00
MAINTAINERS Move RootIsShared to lxc driver 2014-01-17 17:42:22 -08:00
driver.go Move container.json and pid file into a root specific driver dir 2014-02-25 12:41:31 -08:00
pipes.go Move current tty and pipe impl to lxc driver 2014-02-21 13:27:34 -08:00
termconsole.go Merge branch 'master' into add-libcontainer 2014-02-26 12:55:24 -08:00