You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move reject with isolation logic in fcntl
This PR moves the block of logic inside `fcntl` to reject if isolation is enabled into the branch checking if the command is `F_FULLFSYNC` on apple. This allows `fcntl` to duplicate file descriptors while using isolation.
This means we can now run the tokio tests with isolation.
This PR allows moves the now passing `fcntl` logic from `libc-fs-with-isolation.rs` into two different tests:
- `fcntl(1, libc::F_DUPFD, 0)` succeeds with isolation
- `fcntl(1, libc::F_FULLFSYNC, 0)` fails with isolation on MacOS
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
These are inherently racy. Their presence encourages people to write racy code. We should remove them to make things safer.
The text was updated successfully, but these errors were encountered: