gecko-dev/security
Jed Davis 4be220d5f3 Bug 1376910 - Remove SysV IPC access from Linux content sandbox when possible. r=gcp
There are a few things that use SysV IPC, which we discovered the last
time we tried to do this, which need to be accomodated:

1. The ALSA dmix plugin; if the build has ALSA support (off by default)
and if audio remoting is disabled, SysV IPC is allowed.

2. ATI/AMD's old proprietary graphics driver (fglrx), which is obsolete
and doesn't support newer hardware, but still has users; if it's
detected, SysV IPC is allowed.

3. Graphics libraries trying to use the MIT-SHM extension; this is
already turned off for other reasons (see bug 1271100), but that shim
seems to not load early enough in some cases, so it's copied into
libmozsandbox, which is preloaded before anything else in LD_PRELOAD.

Also, msgget is now blocked in all cases; the only case it was known
to be used involved ESET antivirus, which is now handled specially
(bug 1362601).  In any case, the seccomp-bpf policy has never allowed
actually *using* message queues, so creating them is not very useful.

MozReview-Commit-ID: 5bOOQcXFd9U

--HG--
extra : rebase_source : ea79c0a7e31f58f056be15b551c57dde974dfae2
2018-01-26 19:43:10 -07:00
..
apps bug 1421084 - part 3/4 - remove nsNSSShutDownObject::shutdown and virtualDestroyNSSReference r=mt,ttaubert 2018-01-24 14:29:08 -08:00
certverifier bug 1421084 - part 4/4 - remove nsNSSShutDown.h and (hopefully) all references to it r=mt,ttaubert 2018-01-24 14:44:01 -08:00
manager No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-07 21:47:26 -08:00
nss Bug 1432177 - land NSS 1b20549e1075 UPGRADE_NSS_RELEASE, r=me 2018-01-29 12:28:20 +01:00
pkix bug 1430906 - don't hold around a test key forever in mozilla::pkix gtests r=franziskus 2018-01-12 13:57:51 -08:00
sandbox Bug 1376910 - Remove SysV IPC access from Linux content sandbox when possible. r=gcp 2018-01-26 19:43:10 -07:00
.eslintrc.js Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8 2017-08-23 13:38:24 +01:00
generate_certdata.py Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium 2017-08-24 22:52:01 -04:00
generate_mapfile.py Bug 1350362 Fix NSS Build System for MinGW r=ted 2017-05-12 11:39:00 -05:00
moz.build Bug 1394734 - Simplify various corner cases r=glandium 2017-12-07 22:10:19 +01:00
nss.symbols bug 1430906 - don't hold around a test key forever in mozilla::pkix gtests r=franziskus 2018-01-12 13:57:51 -08:00