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

Merged unshare refactor #103

Closed

Conversation

yabberyabber
Copy link
Collaborator

I actually messed up when resolving merge conflicts on #102 and I don't have authorization to fix it in Snaipe's branch. Making my own draft PR just so the ref is reachable from my review jobs which require the fix.

Snaipe and others added 2 commits November 28, 2024 12:23
Before this commit, we used to construct shared namespace paths purely
from string operations; that is, --share pid,mnt=/foo would be
reconstructed as --share pid=/foo/pid --share mnt=/foo/mnt. The problem
with this approach is that this doesn't work well with magic links to
file descriptors in /proc.

Instead, we now open the directory path and use its file descriptor to
open further nsfs files.
Merge done using the github UI
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