Support docker cgroup limits (#13488)
authorTom Deseyn <tom.deseyn@gmail.com>
Mon, 21 Aug 2017 18:56:32 +0000 (20:56 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 21 Aug 2017 18:56:32 +0000 (20:56 +0200)
commitfa01b864246bb588e5088be36dbfe3af833b266f
treefe0a2191ecafa79e113ac92154b04b500475e78d
parentfca2b735f4b5193dfbf7f8b5b8d36060d73a9967
Support docker cgroup limits (#13488)

* Fix cgroup mountinfo parsing

The parsing would find the wrong '-' in lines like this:
354 347 0:28 /system.slice/docker-654dd7b6b8bbfe1739ae3309b471e95ccc82b3a3f56b7879f0a811d68b5c4e1d.scope /sys/fs/cgroup/cpuacct,cpu ro,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuacct,cpu

* cgroup: don't append cgroup relative path for reading docker limits
src/gc/unix/cgroup.cpp
src/pal/src/misc/cgroup.cpp