rustix icon indicating copy to clipboard operation
rustix copied to clipboard

libc: add MS_NOSYMFOLLOW support

Open cyphar opened this issue 6 months ago • 0 comments

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]

cyphar avatar May 30 '25 06:05 cyphar