commit | 2bce96e4dc845ebb207396b82fc6c2751acd18f0 | [log] [tgz] |
---|---|---|
author | Dale Curtis <dalecurtis@chromium.org> | Wed Feb 19 23:31:18 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 19 23:31:18 2020 |
tree | ee5086180a0f6257c1122af219338413dd5233c3 | |
parent | 66c9d93009d6f45ca076ae6daf745eba57c04652 [diff] |
Add utility process sandbox test for Linux. This ensures that every utility process sandbox type actually results in the created process being sandboxed. This has always been important, but will become slightly more important when we start spawning from an unsandboxed zygote. This works by creating a SandboxStatusService mojo service which is test only and exposes it on created utility processes. The test then simply creates a utility process with every sandbox type ensures the sandbox status is non-zero for types which should be sandboxed. R=rsesek Bug: 22703,1049234 Test: It's all tests! Change-Id: I512f7aa77c20ba66e66cf448bfdabf5865a487e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055993 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#742861}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .