summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/eventfd/BUILD
diff options
context:
space:
mode:
authorNeel Natu <neelnatu@google.com>2018-07-16 12:19:02 -0700
committerShentubot <shentubot@google.com>2018-07-16 12:20:05 -0700
commit8f21c0bb2807888d812318def43c2405c9b13f5a (patch)
tree5ddaa634acbad46a248954e32dc0b901624ad42b /pkg/sentry/kernel/eventfd/BUILD
parent9059983fdb2cf64a08152d2aab648b6660b9631b (diff)
Add EventOperations.HostFD()
This method allows an eventfd inside the Sentry to be registered with with the host kernel. Update comment about memory mapping host fds via CachingInodeOperations. PiperOrigin-RevId: 204784859 Change-Id: I55823321e2d84c17ae0f7efaabc6b55b852ae257
Diffstat (limited to 'pkg/sentry/kernel/eventfd/BUILD')
-rw-r--r--pkg/sentry/kernel/eventfd/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/eventfd/BUILD b/pkg/sentry/kernel/eventfd/BUILD
index 2d5a3c693..561ced852 100644
--- a/pkg/sentry/kernel/eventfd/BUILD
+++ b/pkg/sentry/kernel/eventfd/BUILD
@@ -21,6 +21,7 @@ go_library(
importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/kernel/eventfd",
visibility = ["//pkg/sentry:internal"],
deps = [
+ "//pkg/abi/linux",
"//pkg/refs",
"//pkg/sentry/context",
"//pkg/sentry/fs",
@@ -30,6 +31,7 @@ go_library(
"//pkg/state",
"//pkg/syserror",
"//pkg/waiter",
+ "//pkg/waiter/fdnotifier",
],
)