1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Neil Horman 23dcfec140 devmapper: ensure that UdevWait is called after calls to setCookie
Recent changes to devmapper broke the implicit requirement that UdevWait be
called after every call to task.setCookie.  Failure to do so results in leaks of
semaphores in the LVM code, eventually leading to semaphore exhaustion.
Previously this was handled by calling UdevWait in a ubiquitous defer function.
While there was initially some concern with deferring the UdevWait function
would cause some amount of race possibiliy, the fact that we never return the
cookie value or any value used to find it, makes that possibility seem unlikely,
so lets go back to that method

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2017-06-19 13:50:57 -04:00
..
aaparser apparmor: make pkg/aaparser work on read-only root 2017-05-18 00:05:13 +10:00
archive Remove error return from RootPair 2017-06-07 11:45:33 -04:00
authorization authz: remove and hide unused and local-only methods respectively 2017-06-13 13:51:11 +01:00
broadcaster
chrootarchive Remove error return from RootPair 2017-06-07 11:45:33 -04:00
devicemapper devmapper: ensure that UdevWait is called after calls to setCookie 2017-06-19 13:50:57 -04:00
directory
discovery
filenotify Use octal values for file mode in filenotify poller and sysinfo_linux tests 2017-06-02 12:27:10 +10:00
fileutils Enable a unit test on windows. 2017-04-21 12:31:16 -04:00
fsutils
homedir
idtools Remove error return from RootPair 2017-06-07 11:45:33 -04:00
ioutils move multireader out of /pkg 2017-06-01 16:22:00 -07:00
jsonlog pkg/*: clean up a few issues 2017-03-30 16:50:46 +03:00
jsonmessage Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
listeners Don't error with empty group 2017-04-27 09:26:21 -07:00
locker
longpath
loopback
mount Do not remove containers from memory on error 2017-05-05 17:02:04 -04:00
namesgenerator
parsers
pidfile
platform Increase the Coverage of pkg/platform 2017-05-31 13:26:40 +05:00
plugingetter
plugins Increase the Coverage of pkg/plugins 2017-06-12 12:23:10 +05:00
pools pkg/pools: add buffer32KPool & use it for copy 2017-06-10 21:12:48 +03:00
progress Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
promise
pubsub
random
reexec Added Test Case Coverage for PKG/REEXEC 2017-06-09 12:08:04 +05:00
registrar pkg/*: clean up a few issues 2017-03-30 16:50:46 +03:00
signal Add test coverage to pkg/signal 2017-06-01 14:53:15 +05:00
stdcopy
streamformatter Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
stringid
stringutils
symlink
sysinfo Increased Unit Test Coverage for PKG/SYSINFO 2017-06-09 12:06:12 +05:00
system Check for Windows 10 IoT Core to use process isolation on IoT 2017-05-30 12:01:38 -07:00
tailfile
tarsum
templates Disable HTML escaping for JSON in formatter 2017-05-09 10:16:10 +03:00
term Merge pull request #33520 from naveed-jamil-tenpearls/pkg/term 2017-06-08 13:41:49 -07:00
testutil Use cli for trusted relate command 2017-04-19 14:04:39 +02:00
tlsconfig
truncindex
urlutil pkg/urlutil: don't compare to bool 2017-03-30 16:38:01 +03:00
useragent
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!