gecko-dev/gfx/ipc
Nika Layzell 2f2588cf4f Bug 1828389 - Ensure IPC channel is closed with error after KillHard, r=ipc-reviewers,mccr8
This patch changes KillHard() such that the IPC channel is immediately
shut down with an error after a KillHard() is performed. This is done by
fixing the previously-broken CLOSE_CHANNEL_WITH_ERROR support in
ShutDownProcess, and calling that method after KillHard().

This ensures that after the process has been killed, no further messages
will be delivered and processed, even if they were sent before the
process was killed.

In addition, the assertions and KillHard calls which are disabled for
fuzzing were changed to also shut down the channel, making fuzzing IPC
errors cause the connection to be terminated like it is in production
for these actors.

This change does not impact actors which ignore processing errors.

Differential Revision: https://phabricator.services.mozilla.com/D178383
2023-05-26 17:44:57 +00:00
..
CanvasManagerChild.cpp
CanvasManagerChild.h
CanvasManagerParent.cpp
CanvasManagerParent.h
CanvasRenderThread.cpp
CanvasRenderThread.h
CompositorOptions.h
CompositorSession.cpp
CompositorSession.h
CompositorWidgetVsyncObserver.cpp
CompositorWidgetVsyncObserver.h
CrossProcessPaint.cpp
CrossProcessPaint.h
D3DMessageUtils.cpp
D3DMessageUtils.h
GPUChild.cpp
GPUChild.h
GPUParent.cpp
GPUParent.h
GPUProcessHost.cpp
GPUProcessHost.h
GPUProcessImpl.cpp
GPUProcessImpl.h
GPUProcessListener.h
GPUProcessManager.cpp
GPUProcessManager.h
GfxMessageUtils.h
GraphicsMessages.ipdlh Bug 1830162 - Add array support to gfxVars, and use it for the DMABuf modifiers. r=stransky,gfx-reviewers,nical 2023-05-11 09:59:53 +00:00
InProcessCompositorSession.cpp
InProcessCompositorSession.h
OverlayInfo.h
PCanvasManager.ipdl
PGPU.ipdl
PVsyncBridge.ipdl
RemoteCompositorSession.cpp
RemoteCompositorSession.h
VsyncBridgeChild.cpp Bug 1828389 - Ensure IPC channel is closed with error after KillHard, r=ipc-reviewers,mccr8 2023-05-26 17:44:57 +00:00
VsyncBridgeChild.h Bug 1828389 - Ensure IPC channel is closed with error after KillHard, r=ipc-reviewers,mccr8 2023-05-26 17:44:57 +00:00
VsyncBridgeParent.cpp
VsyncBridgeParent.h
VsyncIOThreadHolder.cpp
VsyncIOThreadHolder.h
moz.build