diff options
author | 2024-08-23 14:41:51 -0700 | |
---|---|---|
committer | 2024-08-26 11:12:10 -0700 | |
commit | 1ead86c1a5340458b744c38c3377f5f99bc3e0c7 (patch) | |
tree | 671a31187eeca397c585350ee762a89973e7919a /java/sdk.go | |
parent | 079871cd55bb72337197c2782fa9fb64476b506a (diff) |
Sandbox the OUT_DIR environment variable
Currently, OUT_DIR is inherited from the parent process, leading to
scripts being able to find the output directory when the enviornment
variable is set to an absolute path. When sandboxing a command,
also rewrite the OUT_DIR environment variable to the sandboxed one,
so that scripts can't find the real out dir.
Bug: 307824623
Test: Presubmits
Change-Id: I325071121a60bddc4105df680fbdfe3d11dc94e2
Diffstat (limited to 'java/sdk.go')
0 files changed, 0 insertions, 0 deletions