diff options
author | Jamie Liu <jamieliu@google.com> | 2019-08-13 17:52:53 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-13 17:54:24 -0700 |
commit | cee044c2ab009c9faae154e1751eef93430fc141 (patch) | |
tree | f3cd5f8a82d7d4634e2cbda80d2f1f44b9cc7195 /pkg/sentry/vfs/BUILD | |
parent | 0e907c4298e635d5960b1aeefde2294a6a795cbc (diff) |
Add vfs.DynamicBytesFileDescriptionImpl.
This replaces fs/proc/seqfile for vfs2-based filesystems.
PiperOrigin-RevId: 263254647
Diffstat (limited to 'pkg/sentry/vfs/BUILD')
-rw-r--r-- | pkg/sentry/vfs/BUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/sentry/vfs/BUILD b/pkg/sentry/vfs/BUILD index 4de6c41cf..0f247bf77 100644 --- a/pkg/sentry/vfs/BUILD +++ b/pkg/sentry/vfs/BUILD @@ -18,6 +18,7 @@ go_library( "permissions.go", "resolving_path.go", "syscalls.go", + "testutil.go", "vfs.go", ], importpath = "gvisor.dev/gvisor/pkg/sentry/vfs", @@ -40,7 +41,16 @@ go_test( name = "vfs_test", size = "small", srcs = [ + "file_description_impl_util_test.go", "mount_test.go", ], embed = [":vfs"], + deps = [ + "//pkg/abi/linux", + "//pkg/sentry/context", + "//pkg/sentry/context/contexttest", + "//pkg/sentry/kernel/auth", + "//pkg/sentry/usermem", + "//pkg/syserror", + ], ) |