- enable ipc warnings by default

- ipc checking code in kernel didn't properly catch the
   sendrec() to self case; added special case check
 - triggered by PM using stock panic() - needs its own _exit()

reported by Joren l'Ami.
This commit is contained in:
Ben Gras
2009-04-17 13:46:37 +00:00
parent e5717f7aef
commit e0f3a5acf1
3 changed files with 18 additions and 1 deletions

View File

@@ -417,3 +417,13 @@ register struct mproc *rmp; /* tells which process is exiting */
rmp->mp_child_stime = 0;
procs_in_use--;
}
PUBLIC void _exit(int code)
{
sys_exit(SELF);
}
PUBLIC void __exit(int code)
{
sys_exit(SELF);
}