commit | fd67ba36cff5037bf12f2aee22c37499df8ed828 | [log] [tgz] |
---|---|---|
author | Adam Rice <ricea@chromium.org> | Tue Jan 11 00:38:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 11 00:38:36 2022 |
tree | fd30ac9d17812d360c7257081367c3e0fa9cb158 | |
parent | 1c48a4d195265c7173931f5648afc9552c545ff2 [diff] |
Mac: Ignore ENOTCONN from guarded_close_np() The Mac OS kernel has a bug where guarded_close_np() may return an ENOTCONN error. This is impossible to handle correctly because we don't know if the socket is still open or not. Previously we crashed when this happened, but the crash frequency became too high. Potentially leak the file descriptor instead. BUG=1151048 Change-Id: I7f098005be01a93811077c31e5f3d59e43341360 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3370122 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by: David Schinazi <dschinazi@chromium.org> Cr-Commit-Position: refs/heads/main@{#957350}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.