summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/fuse/BUILD
diff options
context:
space:
mode:
authorJinmou Li <jinmli@google.com>2020-06-27 02:14:56 +0000
committerJinmou Li <jinmli@google.com>2020-07-29 22:52:12 +0000
commit2e19a8b951e9402b28b4e601e65c51e69c815db1 (patch)
treef5a0a258949053d2dbf270f9086a1c57fe1c24eb /pkg/sentry/fsimpl/fuse/BUILD
parenta05ea20ef1107cc0a4ace94d6dffd7c7e590b264 (diff)
Add FUSE_INIT
This change allows the sentry to send FUSE_INIT request and process the reply. It adds the corresponding structs, employs the fuse device to send and read the message, and stores the results of negotiation in corresponding places (inside connection struct). It adds a CallAsync() function to the FUSE connection interface: - like Call(), but it's for requests that do not expect immediate response (init, release, interrupt etc.) - will block if the connection hasn't initialized, which is the same for Call()
Diffstat (limited to 'pkg/sentry/fsimpl/fuse/BUILD')
-rw-r--r--pkg/sentry/fsimpl/fuse/BUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fsimpl/fuse/BUILD b/pkg/sentry/fsimpl/fuse/BUILD
index 67649e811..999111deb 100644
--- a/pkg/sentry/fsimpl/fuse/BUILD
+++ b/pkg/sentry/fsimpl/fuse/BUILD
@@ -21,6 +21,7 @@ go_library(
"connection.go",
"dev.go",
"fusefs.go",
+ "init.go",
"register.go",
"request_list.go",
],
@@ -44,14 +45,13 @@ go_library(
)
go_test(
- name = "dev_test",
+ name = "fuse_test",
size = "small",
srcs = ["dev_test.go"],
library = ":fuse",
deps = [
"//pkg/abi/linux",
"//pkg/sentry/fsimpl/testutil",
- "//pkg/sentry/fsimpl/tmpfs",
"//pkg/sentry/kernel",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/vfs",