Cleaned up table. Moved policies to table.
Small fixes to do_copy, do_privctl and do_fork.
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user