Skip to content

Conversation

cyphar
Copy link

@cyphar cyphar commented May 30, 2025

Linux platforms that are forced to use the libc backend cannot access
MS_NOSYMFOLLOW. The upstream libc crate doesn't expose MS_NOSYMFOLLOW,
but on Linux we can just remap linux-raw-sys.

FreeBSD also has nosymfollow support in the form of MNT_NOSYMFOLLOW, but
rustix::mount is not provided for FreeBSD.

Signed-off-by: Aleksa Sarai [email protected]

Linux platforms that are forced to use the libc backend cannot access
MS_NOSYMFOLLOW. The upstream libc crate doesn't expose MS_NOSYMFOLLOW,
but on Linux we can just remap linux-raw-sys.

FreeBSD also has nosymfollow support in the form of MNT_NOSYMFOLLOW, but
rustix::mount is not provided for FreeBSD.

Signed-off-by: Aleksa Sarai <[email protected]>
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.

1 participant