diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2019-08-07 14:22:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-07 14:23:42 -0700 |
commit | 1c9781a4edce5fa9688f868149a2506f2ec5fa86 (patch) | |
tree | 6538030ca97dcdb175bed5e1dc7cea382ff06ee1 /pkg/sentry/fs/ext/BUILD | |
parent | 79cc4397fd99fbdd5c74ac5bb7804a463d7981d8 (diff) |
ext: vfs.FileDescriptionImpl and vfs.FilesystemImpl implementations.
- This also gets rid of pipes for now because pipe does not have vfs2 specific
support yet.
- Added file path resolution logic.
- Fixes testing infrastructure.
- Does not include unit tests yet.
PiperOrigin-RevId: 262213950
Diffstat (limited to 'pkg/sentry/fs/ext/BUILD')
-rw-r--r-- | pkg/sentry/fs/ext/BUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkg/sentry/fs/ext/BUILD b/pkg/sentry/fs/ext/BUILD index e3d617576..c6168da0a 100644 --- a/pkg/sentry/fs/ext/BUILD +++ b/pkg/sentry/fs/ext/BUILD @@ -4,14 +4,14 @@ load("//tools/go_stateify:defs.bzl", "go_library", "go_test") load("//tools/go_generics:defs.bzl", "go_template_instance") go_template_instance( - name = "dentry_list", - out = "dentry_list.go", + name = "dirent_list", + out = "dirent_list.go", package = "ext", - prefix = "dentry", + prefix = "dirent", template = "//pkg/ilist:generic_list", types = { - "Element": "*dentry", - "Linker": "*dentry", + "Element": "*dirent", + "Linker": "*dirent", }, ) @@ -20,14 +20,13 @@ go_library( srcs = [ "block_map_file.go", "dentry.go", - "dentry_list.go", "directory.go", + "dirent_list.go", "ext.go", "extent_file.go", + "file_description.go", "filesystem.go", - "inline_file.go", "inode.go", - "named_pipe.go", "regular_file.go", "symlink.go", "utils.go", @@ -38,15 +37,19 @@ go_library( "//pkg/abi/linux", "//pkg/binary", "//pkg/fd", + "//pkg/log", + "//pkg/sentry/arch", "//pkg/sentry/context", "//pkg/sentry/fs", "//pkg/sentry/fs/ext/disklayout", "//pkg/sentry/kernel/auth", - "//pkg/sentry/kernel/pipe", + "//pkg/sentry/memmap", "//pkg/sentry/safemem", + "//pkg/sentry/syscalls/linux", "//pkg/sentry/usermem", "//pkg/sentry/vfs", "//pkg/syserror", + "//pkg/waiter", ], ) |