Skip to content

Add MS_NOSYMFOLLOW for linux #2626

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
tedbrandston opened this issue Apr 9, 2025 · 2 comments
Open

Add MS_NOSYMFOLLOW for linux #2626

tedbrandston opened this issue Apr 9, 2025 · 2 comments

Comments

@tedbrandston
Copy link

Looks like linux has had this since 5.10: https://www.phoronix.com/news/Linux-5.10-nosymfollow, and nix has it for bsd

At a glance it looks like all it takes is adding a comment and an MS_NOSYMFOLLOW to src/mount/linux.rs? Except maybe the libc crate doesn't expose it, yet?

@tedbrandston
Copy link
Author

rust-lang/libc#4389 should add it to libc

@tedbrandston
Copy link
Author

And once libc is updated: master...tedbrandston:nix:patch-1

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

No branches or pull requests

1 participant