Include close errnos in crash dumps.

We may be crashing here because close is failing with EBADF (signalling other
code having problems with fds) or because networked filesystems are buggy and
failing with some other errno. Alias a copy of errno on the stack so we may
distinguish the two.

BUG=603354

Review-Url: https://codereview.chromium.org/2090703002
Cr-Commit-Position: refs/heads/master@{#401427}


CrOS-Libchrome-Original-Commit: 3b6205579e92ceb47a07040a1c79d87923de7512
1 file changed
tree: a587945a20ec00beb16b5e3eafc86fd94a4c8416
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/