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

open_tree: Note EPERM #15

Merged
merged 1 commit into from
Dec 19, 2024
Merged

open_tree: Note EPERM #15

merged 1 commit into from
Dec 19, 2024

Conversation

cgwalters
Copy link
Contributor

This came up in containers/bootc#983 and it's actually really cool honestly that one can do a non-cloning (detached) open_tree without privileges. Let's note that implicitly by documenting that this can return EPERM.

This came up in containers/bootc#983 and it's actually *really* cool honestly that one can do a non-cloning (detached) `open_tree` without privileges. Let's note that implicitly by documenting that this can return `EPERM`.
@brauner
Copy link
Owner

brauner commented Dec 19, 2024

This came up in containers/bootc#983 and it's actually really cool honestly that one can do a non-cloning (detached) open_tree without privileges. Let's note that implicitly by documenting that this can return EPERM.

Thanks for the patch. I'm not sure what you mean by "non-cloning" though. OPEN_TREE_CLONE clones the caller's mount namespace into a new anonymous mount namespace.

@brauner brauner merged commit e899f27 into brauner:main Dec 19, 2024
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.

2 participants