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

There should be a fallback when /proc/self/exe is not available #6

Closed
glandium opened this issue Dec 19, 2019 · 0 comments · Fixed by #7
Closed

There should be a fallback when /proc/self/exe is not available #6

glandium opened this issue Dec 19, 2019 · 0 comments · Fixed by #7

Comments

@glandium
Copy link

The comment in

mitosis/src/lib.rs

Lines 109 to 110 in 81e2d42

// will work even if exe is moved
"/proc/self/exe".into()
says "will work even if exe is moved", which is true, but /proc/self/exe is also not guaranteed to exist. Typical example: Running via chroot, without explicitly mounting /proc. Yes, these things happen.

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 a pull request may close this issue.

1 participant