2 Comments
User's avatar
Joris Lijssens's avatar

Well we used sandboxfs for years in our Linux based builds, it solved a performance issue when very large sandboxes needed to be created (10000 files or more). It is a pity that it is no longer supported. We have a patched version for Bazel 7, but we dropped support when we moved to Bazel 8.

Expand full comment
Justine Tunney's avatar

MacOS security has been making the platform unfriendly to developers in a similar way that Windows has since Vista.

Is Bazel using Landlock LSM yet for sandboxing? That's what I use with GNU Make and it's great. Nothing is faster.

The downside is it requires ~3 syscalls per file. If only I could send it all the mappings at once like you did.

Expand full comment