rust/library/core
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 Rollup merge of #115913 - FedericoStra:checked_ilog, r=the8472 2024-04-22 20:25:58 +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 Auto merge of #123909 - dtolnay:utf8chunks, r=joboet 2024-04-26 17:41:24 +00:00
Cargo.toml Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00