From 56220f861ec0097c14eabe146067ead8f67c3ff2 Mon Sep 17 00:00:00 2001 From: Sandboxed API Team Date: Wed, 11 Dec 2024 05:15:12 -0800 Subject: [PATCH] Make Sandbox::GetEnvs protected rather than private. PiperOrigin-RevId: 705069065 Change-Id: Ib39e640e0c6680d09844b98987c2e27a1954e338 --- sandboxed_api/sandbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandboxed_api/sandbox.h b/sandboxed_api/sandbox.h index 5b4b9c7e..96e990b0 100644 --- a/sandboxed_api/sandbox.h +++ b/sandboxed_api/sandbox.h @@ -177,12 +177,12 @@ class Sandbox { static_cast(absl::StderrThreshold()))); } - private: // Gets the environment variables passed to the sandboxee. virtual void GetEnvs(std::vector* envs) const { // Do nothing by default. } + private: // Returns the sandbox policy. Subclasses can modify the default policy // builder, or return a completely new policy. virtual std::unique_ptr ModifyPolicy(