[CRIU] [PATCH] cg: don't save cgroup directories twice

Tycho Andersen tycho.andersen at canonical.com
Thu Jul 10 14:18:53 PDT 2014


Hi all,

On Thu, Jul 10, 2014 at 04:16:24PM -0500, Tycho Andersen wrote:
> The path in cc->path here always has a "/" prefix since it comes from
> /proc/$pid/cgroup. The additional / confuses the string slinging because ftw()
> normalizes paths to have one "/" when we start traversing a subdirectory.

This message sort of sucks but I can't really come up with a better
one. Thoughts welcome :)

Also, I found another co-mounted cgroups bug while fixing this, I will
send a patch across for that in a bit.

Thanks,

Tycho


More information about the CRIU mailing list