moby--moby/execdriver/native
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
..
default_template.go Generate and load custom docker profile for apparmor 2014-03-05 15:02:11 -08:00
driver.go libcontainer: Don't use UsetCloseOnExec, it is racy 2014-03-06 14:10:32 +01:00
info.go
term.go