Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: support mixed-sandbox mode on linux #15870
Description of Change
This adds a patch to Chromium to allow mixing
This currently only works when launching the app with
I'm not exactly sure how this will interact with site-per-process and navigation. In particular, will this behave correctly if you load
Notes: mixed-sandbox mode works on Linux
referenced this pull request
Nov 29, 2018
possibly, but it would be a rather more involved change and it's not clear to me that the zygote is providing substantial value other than optimizing sandbox setup (see e.g. rsesek's comment here). It may indeed be a worthwhile improvement, but without data to back it up I don't think it's worth going through the effort of supporting a 2nd zygote.
If we were to go down the 2-zygote path, we'd also want to consider lazily initializing the zygotes, so that if an app is using all-sandboxed or all-unsandboxed renderers, they don't have to pay the memory cost of an additional process.