gvisor/pkg/sentry/fs/host
Brian Geffon f295e26b8a Release mutex in BidirectionalConnect to avoid deadlock.
When doing a BidirectionalConnect we don't need to continue holding
the ConnectingEndpoint's mutex when creating the NewConnectedEndpoint
as it was held during the Connect. Additionally, we're not holding
the baseEndpoint mutex while Unregistering an event.

PiperOrigin-RevId: 196875557
Change-Id: Ied4ceed89de883121c6cba81bc62aa3a8549b1e9
2018-05-16 13:07:12 -07:00
..
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00
control.go Check in gVisor. 2018-04-28 01:44:26 -04:00
descriptor.go Check in gVisor. 2018-04-28 01:44:26 -04:00
descriptor_state.go Check in gVisor. 2018-04-28 01:44:26 -04:00
device.go Check in gVisor. 2018-04-28 01:44:26 -04:00
file.go Check in gVisor. 2018-04-28 01:44:26 -04:00
fs.go Check in gVisor. 2018-04-28 01:44:26 -04:00
fs_test.go Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
inode.go Check in gVisor. 2018-04-28 01:44:26 -04:00
inode_state.go Capture restore file system corruption errors in exit error. 2018-05-08 11:36:59 -07:00
inode_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00
ioctl_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
socket.go Release mutex in BidirectionalConnect to avoid deadlock. 2018-05-16 13:07:12 -07:00
socket_state.go Check in gVisor. 2018-04-28 01:44:26 -04:00
socket_test.go Release mutex in BidirectionalConnect to avoid deadlock. 2018-05-16 13:07:12 -07:00
socket_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
util.go Check in gVisor. 2018-04-28 01:44:26 -04:00
util_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
wait_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00