moby/pkg/parsers
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
..
filters Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
kernel Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
operatingsystem make docker compile on freebsd 2015-07-29 21:25:56 +03:00
parsers.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
parsers_test.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00