rust/library/std
bors cb49406457 Auto merge of #124210 - the8472:consign-ebadf-to-the-fire, r=Mark-Simulacrum
Abort a process when FD ownership is violated

When an owned FD has already been closed before it's dropped that means something else touched an FD in ways it is not allowed to. At that point things can already be arbitrarily bad, e.g. clobbered mmaps. Recovery is not possible.
All we can do is hasten the fire.

Unlike the previous attempt in #124130 this shouldn't suffer from the possibility that FUSE filesystems can return arbitrary errors.
2024-04-28 06:20:28 +00:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Auto merge of #124210 - the8472:consign-ebadf-to-the-fire, r=Mark-Simulacrum 2024-04-28 06:20:28 +00:00
tests disable create_dir_all_bare on all(miri, windows) 2024-04-15 10:15:14 +02:00
build.rs Support for visionOS 2024-03-18 20:45:45 -07:00
Cargo.toml Replace libc::c_int with core::ffi::c_int 2024-04-14 07:11:51 +00:00