From cee044c2ab009c9faae154e1751eef93430fc141 Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Tue, 13 Aug 2019 17:52:53 -0700 Subject: Add vfs.DynamicBytesFileDescriptionImpl. This replaces fs/proc/seqfile for vfs2-based filesystems. PiperOrigin-RevId: 263254647 --- pkg/sentry/vfs/BUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkg/sentry/vfs/BUILD') 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", + ], ) -- cgit v1.2.3