gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/socket/hostinet/BUILD (about)

     1  load("//tools:defs.bzl", "go_library")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_library(
     9      name = "hostinet",
    10      srcs = [
    11          "hostinet.go",
    12          "netlink.go",
    13          "socket.go",
    14          "socket_unsafe.go",
    15          "sockopt.go",
    16          "sockopt_impl.go",
    17          "stack.go",
    18          "stack_unsafe.go",
    19      ],
    20      visibility = ["//pkg/sentry:internal"],
    21      deps = [
    22          "//pkg/abi/linux",
    23          "//pkg/atomicbitops",
    24          "//pkg/binary",
    25          "//pkg/context",
    26          "//pkg/errors/linuxerr",
    27          "//pkg/fdnotifier",
    28          "//pkg/hostarch",
    29          "//pkg/log",
    30          "//pkg/marshal",
    31          "//pkg/marshal/primitive",
    32          "//pkg/safemem",
    33          "//pkg/sentry/arch",
    34          "//pkg/sentry/fsimpl/sockfs",
    35          "//pkg/sentry/hostfd",
    36          "//pkg/sentry/inet",
    37          "//pkg/sentry/kernel",
    38          "//pkg/sentry/kernel/auth",
    39          "//pkg/sentry/kernel/time",
    40          "//pkg/sentry/socket",
    41          "//pkg/sentry/socket/control",
    42          "//pkg/sentry/socket/netlink/nlmsg",
    43          "//pkg/sentry/vfs",
    44          "//pkg/syserr",
    45          "//pkg/tcpip",
    46          "//pkg/tcpip/stack",
    47          "//pkg/usermem",
    48          "//pkg/waiter",
    49          "@org_golang_x_sys//unix:go_default_library",
    50      ],
    51  )