====================================================
Copyright(C) 2013-2014 The F9 Microkernel Project
====================================================
Git head: 6405ba6a269a6b604ac432d8a9870fd03d87d85a
Host: x86_64
Build: 2016-11-20T14:28:57+0800
Press '?' to print KDB menu
L4/Pistachio test suite starts
Simple IPC test (inter-as, only untyped words)
Local destination Id: OK
Code in
kernel/ipc.c
ipc_deliverswitch case T_RECV_BLOCKED
didn't check from_thr intended.As pistachio ipc_tests
Local destintation Id
test case, if you provide a thread id that is not exist, you will still pass the test.Which can see in
kernel/ipc.c:275
, it will setting intended_receiver, but not used inipc_deliver
PoC for passing not passing test cases
Result