mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This change adds a configuration option to gVisor that, when enabled, creates a file at `/proc/gvisor/kernel_is_gvisor` that can be used by applications to detect whether they are running inside a gVisor sandbox. Useful for testing and introspection. PiperOrigin-RevId: 749217117
13 lines
244 B
Python
13 lines
244 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "gvisordetect",
|
|
srcs = ["gvisordetect.go"],
|
|
visibility = ["//visibility:public"],
|
|
)
|