Elliott Hughes
3391a9ff13
Simplify close(2) EINTR handling.
...
This doesn't affect code like Chrome that correctly ignores EINTR on
close, makes code that tries TEMP_FAILURE_RETRY work (where before it might
have closed a different fd and appeared to succeed, or had a bogus EBADF),
and makes "goto fail" code work (instead of mistakenly assuming that EINTR
means that the close failed).
Who loses? Anyone actively trying to detect that they caught a signal while
in close(2). I don't think those people exist, and I think they have better
alternatives available.
Bug: https://code.google.com/p/chromium/issues/detail?id=269623
Bug: http://b/20501816
Change-Id: I11e2f66532fe5d1b0082b2433212e24bdda8219b
2015-04-23 08:41:45 -07:00
..
2015-04-23 08:41:45 -07:00
2015-02-24 13:40:43 -08:00
2015-02-03 12:10:30 -08:00
2015-02-03 12:10:30 -08:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-10-13 17:04:10 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-11 08:45:46 -07:00
2015-03-18 15:46:48 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-12-08 21:52:43 -08:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-18 15:46:48 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2015-03-24 21:08:26 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-11-07 16:48:27 -08:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2015-03-24 21:08:26 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00
2014-09-08 16:46:50 -07:00