gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/fsimpl/host/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 load("//tools/go_generics:defs.bzl", "go_template_instance") 3 4 package(default_applicable_licenses = ["//:license"]) 5 6 licenses(["notice"]) 7 8 go_template_instance( 9 name = "inode_refs", 10 out = "inode_refs.go", 11 package = "host", 12 prefix = "inode", 13 template = "//pkg/refs:refs_template", 14 types = { 15 "T": "inode", 16 }, 17 ) 18 19 go_library( 20 name = "host", 21 srcs = [ 22 "host.go", 23 "host_unsafe.go", 24 "inode_refs.go", 25 "ioctl_unsafe.go", 26 "save_restore.go", 27 "tty.go", 28 "util.go", 29 "util_unsafe.go", 30 ], 31 visibility = ["//pkg/sentry:internal"], 32 deps = [ 33 "//pkg/abi/linux", 34 "//pkg/atomicbitops", 35 "//pkg/context", 36 "//pkg/errors/linuxerr", 37 "//pkg/fdnotifier", 38 "//pkg/fspath", 39 "//pkg/hostarch", 40 "//pkg/log", 41 "//pkg/marshal/primitive", 42 "//pkg/refs", 43 "//pkg/safemem", 44 "//pkg/sentry/arch", 45 "//pkg/sentry/fsimpl/kernfs", 46 "//pkg/sentry/fsimpl/lock", 47 "//pkg/sentry/fsutil", 48 "//pkg/sentry/hostfd", 49 "//pkg/sentry/kernel", 50 "//pkg/sentry/kernel/auth", 51 "//pkg/sentry/memmap", 52 "//pkg/sentry/socket/control", 53 "//pkg/sentry/socket/unix", 54 "//pkg/sentry/socket/unix/transport", 55 "//pkg/sentry/unimpl", 56 "//pkg/sentry/uniqueid", 57 "//pkg/sentry/vfs", 58 "//pkg/sync", 59 "//pkg/syserr", 60 "//pkg/tcpip", 61 "//pkg/unet", 62 "//pkg/usermem", 63 "//pkg/waiter", 64 "@org_golang_x_sys//unix:go_default_library", 65 ], 66 )