gecko-dev/mozglue/misc
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
..
interceptor Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz 2019-04-29 21:07:20 +00:00
AutoProfilerLabel.cpp
AutoProfilerLabel.h
ConditionVariable_posix.cpp
ConditionVariable_windows.cpp
Debug.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
DynamicallyLinkedFunctionPtr.h
ImportDir.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-22 16:35:03 +00:00
MutexPlatformData_posix.h
MutexPlatformData_windows.h
Mutex_posix.cpp
Mutex_windows.cpp
NativeNt.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-28 09:30:05 +00:00
PlatformConditionVariable.h Bug 1536316 remove suggestion that spurious condition variable wakeups are magically handled by ConditionVariableImpl r=froydnj 2019-03-25 12:41:19 +00:00
PlatformMutex.h
Printf.cpp Bug 1539605 - add fast paths for integer formatting on nsTSubstring; r=erahm 2019-03-29 19:38:53 +00:00
Printf.h Bug 1539605 - add fast paths for integer formatting on nsTSubstring; r=erahm 2019-03-29 19:38:53 +00:00
StackWalk.cpp Bug 1528842 - Disable ASAN checks in FramePointerStackWalk - r=glandium 2019-02-20 05:01:12 +00:00
StackWalk.h
StackWalk_windows.h
TimeStamp.cpp Bug 1523969 part 18 - Move method definition inline comments to new line in mozglue. r=glandium 2019-02-25 16:10:53 -06:00
TimeStamp.h
TimeStamp_darwin.cpp
TimeStamp_posix.cpp
TimeStamp_windows.cpp
TimeStamp_windows.h
WindowsMapRemoteView.cpp
WindowsMapRemoteView.h
WindowsProcessMitigations.cpp Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz 2019-04-29 21:07:20 +00:00
WindowsProcessMitigations.h Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz 2019-04-29 21:07:20 +00:00
moz.build Bug 1535704: Part 1 - Move IsWin32kLockedDown into mozglue; r=bobowen 2019-04-22 19:13:23 +00:00
nsWindowsDllInterceptor.h Bug 1526383: Add essential arm64 support to nsWindowsDllInterceptor; r=handyman 2019-02-21 18:41:17 +00:00