1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/system
Tianon Gravi d5d62ff955 Close extraneous file descriptors in containers
Without this patch, containers inherit the open file descriptors of the daemon, so my "exec 42>&2" allows us to "echo >&42 some nasty error with some bad advice" directly into the daemon log. :)

Also, "hack/dind" was already doing this due to issues caused by the inheritance, so I'm removing that hack too since this patch obsoletes it by generalizing it for all containers.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-04-29 16:45:28 -06:00
..
calls_linux.go Ensure that selinux is disabled by default 2014-04-07 14:44:53 -07:00
errors.go Fix cross compile for make cross 2014-02-25 15:19:13 -08:00
fds_linux.go Close extraneous file descriptors in containers 2014-04-29 16:45:28 -06:00
fds_unsupported.go Close extraneous file descriptors in containers 2014-04-29 16:45:28 -06:00
proc.go Ensure a reliable way to kill ghost containers on reboot 2014-04-01 07:11:41 +00:00
pty_linux.go Refactor and improve libcontainer and driver 2014-02-24 21:11:52 -08:00
setns_linux.go Fix cross compile for make cross 2014-02-25 15:19:13 -08:00
stat_linux.go Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00
stat_unsupported.go Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00
sysconfig.go Use cgo to get systems clock ticks for metrics 2014-04-21 10:26:22 -07:00
sysconfig_nocgo.go Use cgo to get systems clock ticks for metrics 2014-04-21 10:26:22 -07:00
unsupported.go Use cgo to get systems clock ticks for metrics 2014-04-21 10:26:22 -07:00
utimes_freebsd.go Support FreeBSD on pkg/system/utimes_*.go 2014-04-10 07:34:37 +09:00
utimes_linux.go Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00
utimes_test.go Support FreeBSD on pkg/system/utimes_*.go 2014-04-10 07:34:37 +09:00
utimes_unsupported.go Support FreeBSD on pkg/system/utimes_*.go 2014-04-10 07:34:37 +09:00
xattrs_linux.go Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00
xattrs_unsupported.go Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00