Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve coverage for open_tree01 testcase #1174

Open
metan-ucw opened this issue Jul 19, 2024 · 1 comment
Open

Improve coverage for open_tree01 testcase #1174

metan-ucw opened this issue Jul 19, 2024 · 1 comment

Comments

@metan-ucw
Copy link
Member

  • The test always passes OPEN_TREE_CLONE, bug?
  • AT_RECURSIVE is not tested at all
@coolgw
Copy link
Contributor

coolgw commented Jan 1, 2025

If not pass OPEN_TREE_CLONE flag, then move_mount will return TFAIL: move_mount() failed: EINVAL (22)
It seems move_mount need new namespace otherwise will trigger a error.

In following code "attached" will become 1 and move_mount will go out with failure.
https://elixir.bootlin.com/linux/v6.12.6/source/fs/namespace.c#L3320

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

No branches or pull requests

2 participants