Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ targets = [
]

[dependencies]
libc = { version = "=0.2.175", features = ["extra_traits"] }
libc = { version = "=0.2.176", features = ["extra_traits"] }
bitflags = "2.3.3"
cfg-if = "1.0"
pin-utils = { version = "0.1.0", optional = true }
Expand Down
1 change: 1 addition & 0 deletions changelog/2685.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added MS_NOSYMFOLLOW flag, a mount option on linux which disallows automatic following of symlinks.
2 changes: 2 additions & 0 deletions src/mount/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ libc_bitflags!(
MS_MANDLOCK;
/// Directory modifications are synchronous
MS_DIRSYNC;
/// Do not follow symlinks
MS_NOSYMFOLLOW;
/// Do not update access times
MS_NOATIME;
/// Do not update directory access times
Expand Down
Loading