pkg/sysinfo
Antonio Murdaca 4c50b33ed5 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 Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
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.