Skip to content

Conversation

tedbrandston
Copy link

@tedbrandston tedbrandston commented Oct 7, 2025

What does this PR do

Add MS_NOSYMFOLLOW (since Linux 5.10), which disallows automatic following of symlinks.

Added to rust-lang/libc in 0.2.176

See:
torvalds/linux@dab741e
https://github.com/rust-lang/libc/releases/tag/0.2.176

fixes #2626

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

MS_NOSYMFOLLOW (since Linux 5.10) disallows automatic following of symlinks.

Added to rust-lang/libc in 0.2.176

See:
torvalds/linux@dab741e
https://github.com/rust-lang/libc/releases/tag/0.2.176
@tedbrandston
Copy link
Author

Build fails boil down to:

requires rustc 1.71.0 or newer, while the currently active rustc version is 1.69.0

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.

Add MS_NOSYMFOLLOW for linux

1 participant