Skip to content

Commit 9239e8d

Browse files
authored
Add MS_NOSYMFOLLOW flag
MS_NOSYMFOLLOW (since Linux 5.10) disallows automatic following of symlinks. See: torvalds/linux@dab741e
1 parent 139801f commit 9239e8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ pub const MS_SYNCHRONOUS: c_ulong = 0x10;
654654
pub const MS_REMOUNT: c_ulong = 0x20;
655655
pub const MS_MANDLOCK: c_ulong = 0x40;
656656
pub const MS_DIRSYNC: c_ulong = 0x80;
657+
pub const MS_NOSYMFOLLOW: c_ulong = 0x100;
657658
pub const MS_NOATIME: c_ulong = 0x0400;
658659
pub const MS_NODIRATIME: c_ulong = 0x0800;
659660
pub const MS_BIND: c_ulong = 0x1000;

0 commit comments

Comments
 (0)