gecko-dev/security/sandbox/linux
Jed Davis cbde13526d Bug 1725148 - Fix how we find the Xauthority file for sandbox policies. r=gcp
If the `XAUTHORITY` env var is unset, libXau will fall back to
`$HOME/.Xauthority`, but our content sandbox policy didn't handle that
case when it needs to allow access to that file; this patch corrects
that oversight.

This broke WebGL as of bug 1635451, because we no longer eagerly connect
to the X server before sandbox startup, only as needed for WebGL.

Usually the `XAUTHORITY` env var is set even if the file is in its
default location, but some environments (including but not limited to
the Linux VMs on Chrome OS) do not set it.

Differential Revision: https://phabricator.services.mozilla.com/D127984
2021-10-14 03:12:40 +00:00
..
broker Bug 1725148 - Fix how we find the Xauthority file for sandbox policies. r=gcp 2021-10-14 03:12:40 +00:00
glue Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
gtest Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
interfaces Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
launch Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
reporter Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
LinuxSched.h
Sandbox.cpp Bug 1712506 - In the Linux CDM sandbox, don't log when denying access to certain files. r=gcp 2021-08-26 23:10:30 +00:00
Sandbox.h Bug 1710625 - SandboxTest with SocketProcess r=necko-reviewers,handyman,jld,kershaw 2021-06-03 06:45:59 +00:00
SandboxBrokerClient.cpp Bug 1715182 - Sandbox broker abstract socket connect support. r=gcp 2021-06-25 08:44:28 +00:00
SandboxBrokerClient.h
SandboxChrootProto.h
SandboxFilter.cpp Bug 1715254 - Deny clone3 to force glibc fallback r=gcp 2021-06-09 13:45:28 +00:00
SandboxFilter.h
SandboxFilterUtil.cpp Bug 1690921 - Detect socket syscalls only once per process when building Linux sandbox policies. r=gcp 2021-03-12 21:12:11 +00:00
SandboxFilterUtil.h Bug 1678174 - Add remaining time64 syscalls to the Linux sandboxes. r=gcp 2020-12-08 01:02:18 +00:00
SandboxHooks.cpp
SandboxInfo.cpp
SandboxInfo.h
SandboxInternal.h Bug 1515229 - Make MozStackWalk/MozWalkTheStack frame skipping more reliable. r=gerald,nika,bobowen,jld 2021-04-16 04:06:02 +00:00
SandboxLogging.cpp
SandboxLogging.h
SandboxOpenedFiles.cpp Bug 1712506 - In the Linux CDM sandbox, don't log when denying access to certain files. r=gcp 2021-08-26 23:10:30 +00:00
SandboxOpenedFiles.h Bug 1712506 - In the Linux CDM sandbox, don't log when denying access to certain files. r=gcp 2021-08-26 23:10:30 +00:00
SandboxReporterClient.cpp
SandboxReporterClient.h
moz.build Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00