mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
This makes the code in controller.go simple, especially for multi-container restore that requires taking ownership of files. PiperOrigin-RevId: 627165958
33 lines
735 B
Python
33 lines
735 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "platform",
|
|
srcs = [
|
|
"context.go",
|
|
"cpuid_amd64.go",
|
|
"cpuid_arm64.go",
|
|
"mmap_min_addr.go",
|
|
"platform.go",
|
|
],
|
|
visibility = ["//pkg/sentry:internal"],
|
|
deps = [
|
|
"//pkg/abi/linux",
|
|
"//pkg/context",
|
|
"//pkg/cpuid",
|
|
"//pkg/fd",
|
|
"//pkg/hostarch",
|
|
"//pkg/seccomp",
|
|
"//pkg/seccomp/precompiledseccomp",
|
|
"//pkg/sentry/arch",
|
|
"//pkg/sentry/hostmm",
|
|
"//pkg/sentry/memmap",
|
|
"//pkg/usermem",
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
],
|
|
)
|