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

cgroup: use proc fd when reading details about current process for explicitness #99

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

Snaipe
Copy link
Member

@Snaipe Snaipe commented Nov 14, 2024

Knowing in which context you're running is hard, when most of the namespaces can be interchanged at any time during init.

Instead of tossing a coin, use file descriptors to /proc that we open early.

@yabberyabber
Copy link
Collaborator

This change appears to unblock my container development work. I've just restarted the review in case it was an intermittent failure

@Snaipe
Copy link
Member Author

Snaipe commented Nov 26, 2024

The failure is just the GH action bit-rotting (sigh). I'll ignore it for now.

@Snaipe Snaipe merged commit 892499a into aristanetworks:main Nov 26, 2024
2 of 3 checks passed
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