Skip to content

Reapply "[llvm][clang] Enable IO sandbox for assert builds" (#184545) - #22779

Draft
ianayl wants to merge 5 commits into
intel:syclfrom
ianayl:test-sandbox-sycl
Draft

Reapply "[llvm][clang] Enable IO sandbox for assert builds" (#184545)#22779
ianayl wants to merge 5 commits into
intel:syclfrom
ianayl:test-sandbox-sycl

Conversation

@ianayl

@ianayl ianayl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR adds tentative llvm::sys::sandbox::scopedDisables to intel/llvm code to re-enable IO sandbox: https://discourse.llvm.org/t/rfc-file-system-sandboxing-in-clang-llvm/88791

Although upstream llvm components had scopedDisable's added to necessary places, intel/llvm is still missing these scopedDisables.

jansvoboda11 and others added 5 commits July 27, 2026 09:25
This reverts #173074 and essentially reapplies #171935. The main reason
for the revert was an omission where we were not sandboxing direct clang
-cc1 invocations in our test suite, leading to sandbox violations
reported by Clang users. This was rectified in #174653 after a number of
patches fixing found sandbox violations.

RFC:
https://discourse.llvm.org/t/rfc-file-system-sandboxing-in-clang-llvm/88791
@ianayl ianayl changed the title [DO NOT MERGE] Test issues with Reapply "[llvm][clang] Enable IO sandbox for assert builds" (#184545) Reapply "[llvm][clang] Enable IO sandbox for assert builds" (#184545) Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants