gvisor/pkg/sentry
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
..
arch Check in gVisor. 2018-04-28 01:44:26 -04:00
context Check in gVisor. 2018-04-28 01:44:26 -04:00
control Run gofmt -s on everything 2018-05-04 14:16:11 -07:00
device Check in gVisor. 2018-04-28 01:44:26 -04:00
fs Release mutex in BidirectionalConnect to avoid deadlock. 2018-05-16 13:07:12 -07:00
hostcpu Check in gVisor. 2018-04-28 01:44:26 -04:00
inet sentry: Replaces saving of inet.Stack with retrieval via context. 2018-05-15 14:56:18 -07:00
kernel sentry: Replaces saving of inet.Stack with retrieval via context. 2018-05-15 14:56:18 -07:00
limits Check in gVisor. 2018-04-28 01:44:26 -04:00
loader Reword misleading log line 2018-05-08 09:59:03 -07:00
memmap Implement MAP_32BIT. 2018-05-11 11:18:31 -07:00
memutil Check in gVisor. 2018-04-28 01:44:26 -04:00
mm Remove error return from AddressSpace.Release() 2018-05-11 12:24:15 -07:00
platform Fix KVM EFAULT handling. 2018-05-15 22:44:40 -07:00
safemem Check in gVisor. 2018-04-28 01:44:26 -04:00
sighandling Check in gVisor. 2018-04-28 01:44:26 -04:00
socket sentry: Replaces saving of inet.Stack with retrieval via context. 2018-05-15 14:56:18 -07:00
state Sentry: always use "best speed" compression for save and remove the option. 2018-05-08 10:07:10 -07:00
strace Clean up control message strace logging 2018-05-03 16:26:23 -07:00
syscalls Fix problem with sendfile(2) writing less data 2018-05-15 14:39:20 -07:00
time Check in gVisor. 2018-04-28 01:44:26 -04:00
uniqueid Check in gVisor. 2018-04-28 01:44:26 -04:00
usage Fix misspellings 2018-05-07 16:38:01 -07:00
usermem Check in gVisor. 2018-04-28 01:44:26 -04:00
watchdog Check in gVisor. 2018-04-28 01:44:26 -04:00
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00