mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f8e876d761
Using a value such as `--cpuset-mems=1-9223372036854775807` would cause `dockerd` to run out of memory allocating a map of the values in the validation code. Set limits to the normal limit of the number of CPUs, and improve the error handling. Reported by Huawei PSIRT. Signed-off-by: Justin Cormack <justin.cormack@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
numcpu.go | ||
numcpu_linux.go | ||
numcpu_windows.go | ||
README.md | ||
sysinfo.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_test.go | ||
sysinfo_unix.go | ||
sysinfo_windows.go |
SysInfo stores information about which features a kernel supports.