mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Moved AddressAndFamily() and ConvertAddress() to socket package from netstack. This helps because these utilities are used by sibling netstack packages. Such sibling dependencies can later cause circular dependencies. Common utils shared between siblings should be moved up to the parent. PiperOrigin-RevId: 345275571
27 lines
633 B
Python
27 lines
633 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
go_library(
|
|
name = "socket",
|
|
srcs = ["socket.go"],
|
|
visibility = ["//pkg/sentry:internal"],
|
|
deps = [
|
|
"//pkg/abi/linux",
|
|
"//pkg/binary",
|
|
"//pkg/context",
|
|
"//pkg/marshal",
|
|
"//pkg/sentry/device",
|
|
"//pkg/sentry/fs",
|
|
"//pkg/sentry/fs/fsutil",
|
|
"//pkg/sentry/kernel",
|
|
"//pkg/sentry/kernel/time",
|
|
"//pkg/sentry/socket/unix/transport",
|
|
"//pkg/sentry/vfs",
|
|
"//pkg/syserr",
|
|
"//pkg/tcpip",
|
|
"//pkg/tcpip/header",
|
|
"//pkg/usermem",
|
|
],
|
|
)
|