summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-02-20 01:43:42 +0000
committergVisor bot <gvisor-bot@google.com>2021-02-20 01:43:42 +0000
commit28599de5147ae22d1f4364baa2eb2463a1e1f892 (patch)
tree0a0140edd430b834278a495e053b4d8f33c2152d /pkg/sentry/kernel
parent3f8ff37f4c3486668ace6906e4035d08c7148db3 (diff)
parent93fc09248a2fa8b840d8ce47800414980d74bdb0 (diff)
Merge release-20210208.0-78-g93fc09248 (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/epoll/epoll.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/epoll/epoll.go b/pkg/sentry/kernel/epoll/epoll.go
index 61aeca044..407b6e917 100644
--- a/pkg/sentry/kernel/epoll/epoll.go
+++ b/pkg/sentry/kernel/epoll/epoll.go
@@ -14,6 +14,12 @@
// Package epoll provides an implementation of Linux's IO event notification
// facility. See epoll(7) for more details.
+//
+// Lock order:
+// EventPoll.mu
+// fdnotifier.notifier.mu
+// EventPoll.listsMu
+// unix.baseEndpoint.Mutex
package epoll
import (