summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/epoll/epoll.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/epoll/epoll.go')
-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 (