runc icon indicating copy to clipboard operation
runc copied to clipboard

libct/cg: skip hidden ones when parsing cgroup mounts

Open liusdu opened this issue 2 years ago • 3 comments

According to [1], "If a new mount is stacked on top of a previous existing mount, at pathname P, then the parent of the new mount is the previous mount at that location"

Use this strategy to skip hidden cgroup mount.

  1. https://man7.org/linux/man-pages/man5/proc.5.html

liusdu avatar Jun 07 '23 06:06 liusdu

@liusdu can you create an integration test case, so that we can see the problem the code is trying to solve?

kolyshkin avatar Jun 07 '23 18:06 kolyshkin

@liusdu I mark this pr as draft. Please rebase, fix the errors, and add some test cases.

lifubang avatar Jul 07 '23 10:07 lifubang

@liusdu do you plan to keep working on this?

kolyshkin avatar Oct 13 '23 01:10 kolyshkin