mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
363468d0e4
Since every cgroup directory is guaranteed to have cgroup.procs file, we don't have to do filename comparison in GetAllPids() and just read cgroup.procs in every directory. While at it, switch readProcsFile to use our own OpenFile. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>