diff options
author | Adin Scannell <ascannell@google.com> | 2018-11-16 12:16:37 -0800 |
---|---|---|
committer | Nicolas Lacasse <nlacasse@google.com> | 2018-11-20 14:02:07 -0800 |
commit | bb9a2bb62ed37f9b29c7ab4418b8b90417d1b2a2 (patch) | |
tree | df790035bda57dd2d60d69f8d67306b8fd135f69 /pkg/sentry/kernel/futex/BUILD | |
parent | 45f4b90d4f6fc5bdaaaa35f677340860a2c1029c (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/BUILD | 3 |
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"], ) |