Skip to content

Conversation

@liusdu
Copy link

@liusdu liusdu commented Jun 7, 2023

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

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

Signed-off-by: Liu Hua <[email protected]>
@liusdu liusdu force-pushed the skip_hidden_mount branch from da8768b to 00b3ef8 Compare June 7, 2023 06:23
@kolyshkin
Copy link
Contributor

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

@lifubang lifubang marked this pull request as draft July 7, 2023 10:01
@lifubang
Copy link
Member

lifubang commented Jul 7, 2023

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

@kolyshkin
Copy link
Contributor

@liusdu do you plan to keep working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants