
If an asynchronous message is delivered during an ipc_receive(2) call, but a failure occurred while copying out the status to the sending process, then the receiving process would be left in an inconsistent state, leading to a kernel crash shortly after. For now, we fix this by altogether ignoring errors while copying out the status field to the sending process. While this resolves the kernel crash, it is hardly ideal, since it will likely cause the same message to be delivered repeatedly. It would be better to disable asynchronous communication from the sender process altogether, but this solution requires more changes and thus more testing. Change-Id: Ib00bf01ad29cdd10a5dee731d4788254d9037a76
Description
Languages
C
78.2%
Roff
10.2%
Assembly
4.6%
Shell
3.7%
Makefile
1.6%
Other
1.2%