We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd3f514 commit d0a7c09Copy full SHA for d0a7c09
src/process/mod.rs
@@ -1183,7 +1183,7 @@ impl Process {
1183
// Use fast path if available (Linux v6.2): https://github.com/torvalds/linux/commit/f1f1f2569901
1184
let stat = wrap_io_error!(
1185
self.root.join("fd"),
1186
- rustix::fs::statat(&self.fd, "fd", AtFlags::SYMLINK_NOFOLLOW)
+ rustix::fs::statat(&self.fd, "fd", AtFlags::empty())
1187
)?;
1188
if stat.st_size > 0 {
1189
return Ok(stat.st_size as usize);
0 commit comments