summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/futex/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2018-11-16 12:16:37 -0800
committerNicolas Lacasse <nlacasse@google.com>2018-11-20 14:02:07 -0800
commitbb9a2bb62ed37f9b29c7ab4418b8b90417d1b2a2 (patch)
treedf790035bda57dd2d60d69f8d67306b8fd135f69 /pkg/sentry/kernel/futex/BUILD
parent45f4b90d4f6fc5bdaaaa35f677340860a2c1029c (diff)
Update futex to use usermem abstractions.
This eliminates the indirection that existed in task_futex. PiperOrigin-RevId: 221832498 Change-Id: Ifb4c926d493913aa6694e193deae91616a29f042
Diffstat (limited to 'pkg/sentry/kernel/futex/BUILD')
-rw-r--r--pkg/sentry/kernel/futex/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/futex/BUILD b/pkg/sentry/kernel/futex/BUILD
index e13fcb5ff..afd35985f 100644
--- a/pkg/sentry/kernel/futex/BUILD
+++ b/pkg/sentry/kernel/futex/BUILD
@@ -36,7 +36,9 @@ go_library(
importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/kernel/futex",
visibility = ["//pkg/sentry:internal"],
deps = [
+ "//pkg/abi/linux",
"//pkg/sentry/memmap",
+ "//pkg/sentry/usermem",
"//pkg/syserror",
],
)
@@ -46,4 +48,5 @@ go_test(
size = "small",
srcs = ["futex_test.go"],
embed = [":futex"],
+ deps = ["//pkg/sentry/usermem"],
)