mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
94464e3a5e
Before this patch libcontainer badly errored out with `invalid argument` or `numerical result out of range` while trying to write to cpuset.cpus or cpuset.mems with an invalid value provided. This patch adds validation to --cpuset-cpus and --cpuset-mems flag along with validation based on system's available cpus/mems before starting a container. Signed-off-by: Antonio Murdaca <runcom@linux.com> |
||
---|---|---|
.. | ||
README.md | ||
sysinfo.go | ||
sysinfo_freebsd.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_test.go | ||
sysinfo_windows.go |
SysInfo stores information about which features a kernel supports.