gecko-dev/taskcluster/ci/test
Jed Davis 9082363e4e Bug 1129492 - Remove X11 access from the Linux content process sandbox. r=gcp,jgilbert
Background: The X11 protocol has a very permissive security model;
clients have essentially full access to the windows of other clients,
and to global resources like input devices.  Previously, our sandbox
policy for content processes needed to allow access to the X server;
this limited its effectiveness against a dedicated attacker.

This patch turns on the `security.sandbox.content.headless` pref added
in bug 1640345, which removes the sandbox policy rules that allowed
making new X11 connections, as well as opening the Xauthority file,
reading hardware info needed by Mesa, etc.  It also runs content
processes in headless mode (whence the name) so they won't connect to a
display server at startup.

This also removes access to the Wayland compositor: the sandbox policy
never allowed that (as of when socket connections became default-deny),
but now content processes won't connect to it at startup.  Wayland is
more capability-oriented so this is less significant for security, but at
a minimum it removes unnecessary attack surface.

Note that if the `webgl.out-of-process` pref is turned off, WebGL
will break unless `security.sandbox.content.headless` is also turned
off.  (Similarly, `widget.non-native-theme.enabled` is needed to render
scrollbars and form controls in content.)  As a result, this patch
adjusts the job definitions used by CI to test in-process WebGL so that
that they will continue to work.

Differential Revision: https://phabricator.services.mozilla.com/D138613
2022-03-01 20:36:18 +00:00
..
awsy.yml Bug 1749067 - fission only for awsy. r=perftest-reviewers,AlexandruIonescu 2022-01-10 14:46:25 +00:00
browsertime-desktop.yml Bug 1756212 - Disable netflix temporarily due to perma on macOS r=perftest-reviewers,sparky 2022-02-23 18:21:22 +00:00
browsertime-mobile.yml Bug 1754782 - Run benchmark and mobile performance tests against mozilla-release r=perftest-reviewers,sparky 2022-02-23 14:32:52 +00:00
compiled.yml WIP: Bug 1748336 - Remove python-3 flag from taskgraph. #releng-reviewers r=releng-reviewers,ahal 2022-01-04 16:03:34 +00:00
firefox-ui.yml Bug 1756195 - run marionette/firefox-ui/telemetry tests as no-fission when not run in fission. r=releng-reviewers,gbrown 2022-02-18 19:08:47 +00:00
kind.yml Bug 1700774 - [taskgraph] Move test transforms to a 'transforms/test' directory, r=gbrown 2021-11-29 15:52:19 +00:00
marionette.yml Bug 1756195 - run marionette/firefox-ui/telemetry tests as no-fission when not run in fission. r=releng-reviewers,gbrown 2022-02-18 19:08:47 +00:00
misc.yml Bug 1756195 - run marionette/firefox-ui/telemetry tests as no-fission when not run in fission. r=releng-reviewers,gbrown 2022-02-18 19:08:47 +00:00
mochitest.yml Bug 1129492 - Remove X11 access from the Linux content process sandbox. r=gcp,jgilbert 2022-03-01 20:36:18 +00:00
raptor-chrome.yml WIP: Bug 1748336 - Remove python-3 flag from taskgraph. #releng-reviewers r=releng-reviewers,ahal 2022-01-04 16:03:34 +00:00
raptor-gve.yml WIP: Bug 1748336 - Remove python-3 flag from taskgraph. #releng-reviewers r=releng-reviewers,ahal 2022-01-04 16:03:34 +00:00
raptor-refbrow.yml WIP: Bug 1748336 - Remove python-3 flag from taskgraph. #releng-reviewers r=releng-reviewers,ahal 2022-01-04 16:03:34 +00:00
raptor.yml WIP: Bug 1748336 - Remove python-3 flag from taskgraph. #releng-reviewers r=releng-reviewers,ahal 2022-01-04 16:03:34 +00:00
reftest.yml Bug 1756218 - run android reftest/crashtest as no-fission. r=releng-reviewers,gbrown 2022-02-22 15:38:09 +00:00
talos.yml Bug 1750804 - turn off e10s talos-webgl, run only on fission. r=perftest-reviewers,AlexandruIonescu 2022-02-02 21:32:12 +00:00
test-platforms.yml Bug 1734722 - Part 1: Add CI jobs for DOM Streams r=glandium 2022-01-31 22:15:38 +00:00
test-sets.yml Bug 1754613 - split a11y tests out of mochitest-browser-chrome into mochitest-browser-a11y. r=releng-reviewers,Jamie,gbrown 2022-02-15 16:47:57 +00:00
variants.yml Bug 1129492 - Remove X11 access from the Linux content process sandbox. r=gcp,jgilbert 2022-03-01 20:36:18 +00:00
web-platform.yml Bug 1755067 - move e10s wpt tests to no-fission. r=releng-reviewers,gbrown 2022-02-15 16:37:15 +00:00
xpcshell.yml Bug 1750251 - Not run socket process tests on late beta, r=ahal 2022-01-21 04:48:02 +00:00