moby--moby/pkg
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
..
cgroups Fix cgroups swap issue when it is not supported 2014-02-25 19:45:57 -08:00
collections
graphdb runtime: Fix unique constraint error checks 2014-03-03 15:10:52 +01:00
iptables
libcontainer libcontainer: Don't use UsetCloseOnExec, it is racy 2014-03-06 14:10:32 +01:00
listenbuffer Change name to listenbuffer 2014-02-15 21:10:37 -08:00
mflag fix panic with only long flags or only one deprecatd 2014-03-05 19:45:57 +00:00
mount
namesgenerator
netlink Merge pull request #4011 from crosbymichael/add-netlink-functions 2014-02-18 19:37:52 -05:00
opts pkg/opts: a collection of custom value parsers implementing flag.Value 2014-02-11 19:59:52 -08:00
proxy Remove verbose logging for non errors 2014-02-17 13:31:13 -08:00
sysinfo
system Create pkg/system and move stuff there from archive 2014-03-05 14:05:32 +01:00
systemd pkg: systemd: add initial MAINTAINERS 2014-02-06 12:04:35 -08:00
term
user
version add version pkg 2014-02-25 21:08:38 +00:00
README.md

README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!