gecko-dev/config
Jed Davis 3680ce4b19 Bug 1440203 - Support memfd_create in IPC shared memory. r=glandium
This commit also allows `memfd_create` in the seccomp-bpf policy for all
process types.

`memfd_create` is an API added in Linux 3.17 (and adopted by FreeBSD
for the upcoming version 13) for creating anonymous shared memory
not connected to any filesystem.  Supporting it means that sandboxed
child processes on Linux can create shared memory directly instead of
messaging a broker, which is unavoidably slower, and it should avoid
the problems we'd been seeing with overly small `/dev/shm` in container
environments (which were causing serious problems for using Firefox for
automated testing of frontend projects).

`memfd_create` also introduces the related operation of file seals:
irrevocably preventing types of modifications to a file.  Unfortunately,
the most useful one, `F_SEAL_WRITE`, can't be relied on; see the large
comment in `SharedMemory:ReadOnlyCopy` for details.  So we still use
the applicable seals as defense in depth, but read-only copies are
implemented on Linux by using procfs (and see the comments on the
`ReadOnlyCopy` function in `shared_memory_posix.cc` for the subtleties
there).

There's also a FreeBSD implementation, using `cap_rights_limit` for
read-only copies, if the build host is new enough to have the
`memfd_create` function.

Differential Revision: https://phabricator.services.mozilla.com/D90605
2020-10-08 02:25:20 +00:00
..
external Bug 1654189 - Move sipcc SDP to third_party;r=dminor 2020-09-11 20:19:42 +00:00
faster Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium 2020-07-07 02:16:12 +00:00
makefiles Bug 1669633 - Remove MOZ_BUILD_ROOT. r=firefox-build-system-reviewers,andi,rstewart 2020-10-07 17:57:38 +00:00
mozunit Bug 1640902 - [python-test] Add ability to mark tests as "slow" and an arugment to run them, r=raphael 2020-07-09 17:46:07 +00:00
tests Bug 1644228 - Remove support for IMPACTED_TESTS; r=remote-protocol-reviewers,firefox-build-system-reviewers,rstewart,whimboo 2020-06-12 08:04:08 +00:00
AB_rCD.mk
Makefile.in
MozZipFile.py
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk Bug 1651287 - Add a pre-compile pseudo-tier. r=firefox-build-system-reviewers,rstewart 2020-07-11 22:18:25 +00:00
check_js_msg_encoding.py Bug 1636797 - In `hash.py`, enumerate files from the VCS rather than searching the filesystem directly r=ahal 2020-08-17 15:19:34 +00:00
check_js_opcode.py
check_macroassembler_style.py
check_source_count.py
check_spidermonkey_style.py Bug 1654927 - Move js.msg and js::GetErrorMessage into a new js/public/friend directory so users of them don't have to depend on all of jsfriendapi.h. r=mgaudet 2020-07-29 04:44:50 +00:00
check_vanilla_allocations.py Bug 1632916 - Run JS/web-platform/ipdl build machinery in Python 3 r=jgraham,nika,glandium 2020-05-05 20:32:12 +00:00
config.mk Bug 1663850 - Remove unused variables in config/config.mk. r=firefox-build-system-reviewers,rstewart 2020-09-09 23:50:38 +00:00
create_rc.py Bug 1656141 - Stop using MT to insert manifests in binaries. r=firefox-build-system-reviewers,rstewart 2020-08-07 00:55:16 +00:00
create_res.py Bug 1537703 - Use llvm-rc instead of rc.exe. r=mhentges,froydnj 2020-08-08 21:02:04 +00:00
createprecomplete.py
emptyvars-js.mk.in
emptyvars.mk.in
gcc-stl-wrapper.template.h
gcc_hidden.h
install.bat
make-stl-wrappers.py
make-system-wrappers.py
make-windows-h-wrapper.py
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-09-21 14:12:25 +00:00
moz.build Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium 2020-06-26 10:41:26 +00:00
msvc-stl-wrapper.template.h
nsinstall.c
nsinstall.py Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky 2020-07-09 20:29:18 +00:00
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py
rebuild_check.py Bug 1633016 - Remove a bunch of references to PYTHON(2) in Makefiles r=glandium 2020-05-05 19:53:22 +00:00
recurse.mk Bug 1669442 - Fix dependency between libxul and mozgtk after bug 1573566. r=andi,dmajor 2020-10-07 12:17:56 +00:00
rules.mk Bug 1657863 - Skip adding manifests automatically on mingw builds. r=froydnj 2020-08-11 13:42:24 +00:00
run-and-prefix.py Bug 1655583 - Don't close fds in run-and-prefix.py. r=firefox-build-system-reviewers,rstewart 2020-07-27 21:51:13 +00:00
run_spidermonkey_checks.py
static-checking-config.mk
stl-headers.mozbuild
system-headers.mozbuild Bug 1440203 - Support memfd_create in IPC shared memory. r=glandium 2020-10-08 02:25:20 +00:00
windows-h-constant.decls.h
windows-h-unicode.decls.h
windows-h-wrapper.template.h