]> Zhao Yanbai Git Server - minix.git/commit
kernel ipc debug: various fixes 38/538/1
authorBen Gras <ben@minix3.org>
Wed, 1 May 2013 19:02:06 +0000 (19:02 +0000)
committerBen Gras <ben@minix3.org>
Wed, 1 May 2013 21:40:23 +0000 (21:40 +0000)
commit80846c4a79da30c85da71b1dfcb359257dabbbb7
tree017dd26c50973d3db19b52ce1e9c36894f5b0f88
parent85fd078707459f4dea16186b29a4f5cc4ee32d9d
kernel ipc debug: various fixes

. add receive hooks in the kernel to print asynchronously
  delivered messages
. do not rely on MF_REPLY_PEND to decide between calls and errors,
  as that isn't reliable for asynchronous messages; try both instead
. add _sendcall() that extract-mfield.sh can then reliably recognize
  the fields for messages that are sent with just send()
. add DEBUG_DUMPIPC_NAMES to restrict printed messages to
  from/to given process names

Change-Id: Ia65eb02a69a2b58e73bf9f009987be06dda774a3
drivers/tty/tty.c
include/minix/syslib.h
kernel/Makefile
kernel/debug.c
kernel/debug.h
kernel/extract-mfield.sh
kernel/proc.c
lib/libsys/Makefile
lib/libsys/send_taskreply.c [new file with mode: 0644]
lib/libsys/taskcall.c