diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2021-02-19 17:36:44 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-19 17:38:51 -0800 |
commit | 93fc09248a2fa8b840d8ce47800414980d74bdb0 (patch) | |
tree | 6006fc6b336315a4ae272782b8afb5c1130a9b2b /pkg/sentry/syscalls | |
parent | 7544eeb242d0aba2da054a1663e043feaedb9618 (diff) |
Don't hold baseEndpoint.mu while calling EventUpdate().
This removes a three-lock deadlock between fdnotifier.notifier.mu,
epoll.EventPoll.listsMu, and baseEndpoint.mu.
A lock order comment was added to epoll/epoll.go.
Also fix unsafe access of baseEndpoint.connected/receiver.
PiperOrigin-RevId: 358515191
Diffstat (limited to 'pkg/sentry/syscalls')
0 files changed, 0 insertions, 0 deletions