Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.2.0] Fix sandboxing hermetic tmp to take into account sandbox_base #22450

Merged
merged 1 commit into from
May 20, 2024

Conversation

bazel-io
Copy link
Member

The logic for sandboxing hermetic tmp needs to take into account all paths under /tmp used during the build. A user may also pass a sandbox_base under /tmp even when the output_base is not. This change adds sandbox_base to the list.

Fix suggested by fmeum

Closes #22435.

PiperOrigin-RevId: 635382607
Change-Id: I32497a514ff16e64a0e0d84c307f280d3d37544b

Commit eebf5f9

The logic for sandboxing hermetic tmp needs to take into account all paths under `/tmp` used during the build. A user may also pass a `sandbox_base` under `/tmp` even when the `output_base` is not. This change adds `sandbox_base` to the list.

Fix suggested by fmeum

Closes bazelbuild#22435.

PiperOrigin-RevId: 635382607
Change-Id: I32497a514ff16e64a0e0d84c307f280d3d37544b
@bazel-io bazel-io added team-Local-Exec Issues and PRs for the Execution (Local) team awaiting-review PR is awaiting review from an assigned reviewer labels May 20, 2024
@bazel-io bazel-io requested a review from a team as a code owner May 20, 2024 08:53
@bazel-io bazel-io requested a review from fmeum May 20, 2024 08:53
@fmeum
Copy link
Collaborator

fmeum commented May 20, 2024

@oquenchil

@keertk keertk added this pull request to the merge queue May 20, 2024
Merged via the queue into bazelbuild:release-7.2.0 with commit b229d83 May 20, 2024
33 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants