diff options
author | Daichi Hirono <hirono@google.com> | 2019-05-31 12:51:05 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2019-05-31 12:51:05 +0900 |
commit | ca0d4ffbe38a1997d8b1555210a184a5e0d112f4 (patch) | |
tree | a93cce816d72ec97df379bb9aa3b4c001dad235e /trusty/coverage/coverage.cpp | |
parent | cc18faf4d67c4f24474fcd621a083e31d8509a13 (diff) |
Fix BridgeEpollController to handles EAGAIN correctly
When reading/writing proxy FD, if it returns EAGAIN,
BridgeEpollController updates epoll entries to observe specific FD
events. Before updating epoll entries, BridgeEpollController checks if
it really needs to update by comparing |state_| and |last_state_|.
|last_state_| has not been updated correctly so it resulted in wrong
epoll settings and keeps blocking the event loop.
Bug: 134104939
Test: atest libappfuse_test
Change-Id: I1c4a0164c1c016baf24ecfd523476ced981d3b28
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions