Cleaned up table. Moved policies to table.

Small fixes to do_copy, do_privctl and do_fork.
This commit is contained in:
Jorrit Herder
2005-08-02 15:28:09 +00:00
parent 619a202720
commit ab7c0a9926
7 changed files with 95 additions and 84 deletions
+3 -1
View File
@@ -117,8 +117,10 @@ message *m_ptr; /* pointer to message in the caller's space */
return(ECALLDENIED);
/* Require a valid source and/ or destination process, unless echoing. */
if (! (isokprocn(src_dst) || src_dst == ANY || function == ECHO))
if (! (isokprocn(src_dst) || src_dst == ANY || function == ECHO)) {
kprintf("sys_call: function %d, src_dst %d\n", function, src_dst);
return(EBADSRCDST);
}
/* If the call involves a message buffer, i.e., for SEND, RECEIVE, SENDREC,
* or ECHO, check the message pointer. This check allows a message to be