1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/sysinfo
Antonio Murdaca 94464e3a5e Validate --cpuset-cpus, --cpuset-mems
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>
2015-09-27 16:38:58 +02:00
..
README.md
sysinfo.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
sysinfo_freebsd.go Fix golint warning on pkg/sysinfo 2015-08-01 18:24:49 +08:00
sysinfo_linux.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
sysinfo_linux_test.go cleanup sysinfo package 2015-06-17 20:41:14 -04:00
sysinfo_test.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
sysinfo_windows.go Fix golint warning on pkg/sysinfo 2015-08-01 18:24:49 +08:00

SysInfo stores information about which features a kernel supports.