/[rtmk]/rtmk/ipc-kmsg.c
ViewVC logotype

Diff of /rtmk/ipc-kmsg.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by jrydberg, Tue Feb 5 20:45:32 2002 UTC revision 1.9 by jrydberg, Sat Feb 16 15:17:15 2002 UTC
# Line 110  copyin_header (struct task *task, struct Line 110  copyin_header (struct task *task, struct
110    
111    if (! RTMK_MSG_TYPE_PORT_ANY_SEND (remote_type))    if (! RTMK_MSG_TYPE_PORT_ANY_SEND (remote_type))
112      return KERN_INVALID_RIGHT;      return KERN_INVALID_RIGHT;
113    
114    if (((local_type == 0 && local_name)    if (local_type || local_name)
115         || (local_type && local_name == 0))      {
116        || !RTMK_MSG_TYPE_PORT_ANY_SEND (local_type))        if (! RTMK_MSG_TYPE_PORT_ANY_SEND (local_type))
117      return KERN_INVALID_RIGHT;          return KERN_INVALID_RIGHT;
118          }
119    
120    /* Fetch remote port from IPC object.   */    /* Fetch remote port from IPC object.   */
121    
122    kr = ipc_object_lookup (task->ipc_object, remote_name, &entry);    kr = ipc_object_lookup (task->ipc_object, remote_name, &entry);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26