diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2019-07-29 18:32:45 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-29 18:33:55 -0700 |
commit | b765eb45894ea426d2c6d167b6ceb662db6ff4d2 (patch) | |
tree | 1dada0a548d86e6b34b01717a9f116a652d396da /pkg/sentry/fs/ext/BUILD | |
parent | a3e9031e665e5707ff1d181a577a808ff6d67452 (diff) |
ext: inode implementations.
PiperOrigin-RevId: 260624470
Diffstat (limited to 'pkg/sentry/fs/ext/BUILD')
-rw-r--r-- | pkg/sentry/fs/ext/BUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/sentry/fs/ext/BUILD b/pkg/sentry/fs/ext/BUILD index 2c15875f5..60f6debaf 100644 --- a/pkg/sentry/fs/ext/BUILD +++ b/pkg/sentry/fs/ext/BUILD @@ -1,14 +1,35 @@ package(licenses = ["notice"]) 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", + package = "ext", + prefix = "dentry", + template = "//pkg/ilist:generic_list", + types = { + "Element": "*dentry", + "Linker": "*dentry", + }, +) go_library( name = "ext", srcs = [ + "block_map_file.go", "dentry.go", + "dentry_list.go", + "directory.go", "ext.go", + "extent_file.go", "filesystem.go", + "inline_file.go", "inode.go", + "named_pipe.go", + "regular_file.go", + "symlink.go", "utils.go", ], importpath = "gvisor.dev/gvisor/pkg/sentry/fs/ext", @@ -17,8 +38,11 @@ go_library( "//pkg/abi/linux", "//pkg/binary", "//pkg/sentry/context", + "//pkg/sentry/fs", "//pkg/sentry/fs/ext/disklayout", "//pkg/sentry/kernel/auth", + "//pkg/sentry/kernel/pipe", + "//pkg/sentry/usermem", "//pkg/sentry/vfs", "//pkg/syserror", ], |