1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Code review updates 2014-02-26 19:21:46 -08:00
term.go Merge branch 'master' into add-libcontainer 2014-02-26 12:55:24 -08:00