Skip to content

Commit

Permalink
Auto merge of #124210 - the8472:consign-ebadf-to-the-fire, r=Mark-Sim…
Browse files Browse the repository at this point in the history
…ulacrum

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.
  • Loading branch information
bors committed Apr 28, 2024
2 parents e520775 + 8308455 commit 04e20ba
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 04e20ba

Please sign in to comment.