gecko-dev/mozglue
David Parks 406cc6afbf Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz
TrampolineCollection iterates over an array of Trampolines that it has set 'write' permissions for.  If this happens in a process whose sandbox forbids dynamic code then these permissions cannot be set.  This patch detects that condition and returns an empty TrampolineCollection in that case.  We ASSERT if we fail to set permissions for any other reason.

Differential Revision: https://phabricator.services.mozilla.com/D28613

--HG--
extra : moz-landing-system : lando
2019-04-29 21:07:20 +00:00
..
android Bug 1538279 - Only readahead DLLs in parent process r=glandium 2019-04-13 18:46:13 +00:00
build Bug 1530874 - Version the mozglue symbols on Android. r=froydnj 2019-04-18 21:39:10 +00:00
linker Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-28 09:30:05 +00:00
misc Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz 2019-04-29 21:07:20 +00:00
tests Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi 2019-04-05 21:42:17 +00:00
moz.build Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal 2017-10-05 14:50:01 +09:00