minix/minix
David van Moolenbroek 3091b8cf26 Kernel: fix async message failure handling crash
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
2015-08-08 16:55:52 +00:00
..
bin New sources layout 2014-07-31 16:00:30 +02:00
commands update_bootcfg(8): Add actually useful information 2015-07-28 10:03:50 +00:00
drivers audio: use standard Makefile structure 2015-08-08 16:55:03 +00:00
fs orinoco: retire 2015-07-20 16:55:15 +00:00
include libsys: make tickdelay(3) more reliable 2015-08-08 16:55:23 +00:00
kernel Kernel: fix async message failure handling crash 2015-08-08 16:55:52 +00:00
lib libsys: make tickdelay(3) more reliable 2015-08-08 16:55:23 +00:00
llvm minix/llvm/passes/Makefile.inc: Fix 2014-08-29 12:56:57 -04:00
man Import NetBSD syslogd(8) 2015-07-26 11:57:04 +00:00
net inet: fix state transitions in driver receipt code 2015-07-17 18:44:39 +00:00
sbin New sources layout 2014-07-31 16:00:30 +02:00
servers VFS: add support for F_DUPFD_CLOEXEC 2015-07-20 13:55:10 +00:00
share New sources layout 2014-07-31 16:00:30 +02:00
tests tests: resolve new compiler warnings 2015-07-28 14:18:35 +00:00
usr.bin VFS: add support for F_DUPFD_CLOEXEC 2015-07-20 13:55:10 +00:00
usr.sbin mkfs.mfs: remove Linux mount check 2015-07-20 10:59:49 +00:00
Makefile benchmarks: remove unixbench 2015-07-20 11:05:28 +00:00
Makefile.inc New sources layout 2014-07-31 16:00:30 +02:00