Files
Champ-Goblem 429f3b1b8a Sentry: Add support for sysfs osrelease, ostype, version
The linux kernel outputs the current release version to `/proc/sys/kernel/osrelease`. Some libraries read this file to determine which features to enable. Implement the `osrelease`, `ostype`, `version` files to match what is returned for uname.

Fixes: #12487
2026-01-15 11:20:03 +00:00

15 lines
251 B
Python

load("//tools:defs.bzl", "go_library")
package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
)
go_library(
name = "version",
srcs = [
"version.go",
],
visibility = ["//pkg/sentry:internal"],
)