mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
This avoids needing to rename it everywhere it's imported. PiperOrigin-RevId: 693930089
41 lines
1015 B
Python
41 lines
1015 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "netlink",
|
|
srcs = [
|
|
"provider.go",
|
|
"socket.go",
|
|
],
|
|
visibility = ["//pkg/sentry:internal"],
|
|
deps = [
|
|
"//pkg/abi/linux",
|
|
"//pkg/abi/linux/errno",
|
|
"//pkg/context",
|
|
"//pkg/errors/linuxerr",
|
|
"//pkg/hostarch",
|
|
"//pkg/marshal",
|
|
"//pkg/marshal/primitive",
|
|
"//pkg/sentry/arch",
|
|
"//pkg/sentry/fsimpl/sockfs",
|
|
"//pkg/sentry/inet",
|
|
"//pkg/sentry/kernel",
|
|
"//pkg/sentry/kernel/auth",
|
|
"//pkg/sentry/ktime",
|
|
"//pkg/sentry/socket",
|
|
"//pkg/sentry/socket/netlink/nlmsg",
|
|
"//pkg/sentry/socket/netlink/port",
|
|
"//pkg/sentry/socket/unix",
|
|
"//pkg/sentry/socket/unix/transport",
|
|
"//pkg/sentry/vfs",
|
|
"//pkg/sync",
|
|
"//pkg/syserr",
|
|
"//pkg/usermem",
|
|
"//pkg/waiter",
|
|
],
|
|
)
|