Added an extended ipc return library function.

This commit is contained in:
Bahadir Balban
2009-10-08 15:35:54 +03:00
parent cb561ab262
commit 72c6ca1ed0
9 changed files with 112 additions and 36 deletions

View File

@@ -131,6 +131,8 @@ int ipc_msg_copy(struct ktcb *to, struct ktcb *from)
break;
case IPC_FLAGS_EXTENDED:
if (send_ipc_type == IPC_FLAGS_EXTENDED)
/* We do a short copy as well. */
ret = ipc_short_copy(to, from);
ret = ipc_extended_copy(to, from);
if (send_ipc_type == IPC_FLAGS_SHORT)
ret = -ENOIPC;