summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-13 22:23:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-13 22:23:59 +0100
commitfa8c83d2fd17e507f305ccc2ddfb39341c8dee99 (patch)
tree80087498244e1e2a09f7c462c065be3fa38939d9
parent253e8404513413890d816c0de787ab81cfffe3a3 (diff)
Add missing RPC definitions
* hurd/process_request.defs (proc_make_task_namespace_request): New definition. * hurd/process_reply.defs (proc_make_task_namespace_reply): Skip definition.
-rw-r--r--hurd/process_reply.defs2
-rw-r--r--hurd/process_request.defs10
2 files changed, 12 insertions, 0 deletions
diff --git a/hurd/process_reply.defs b/hurd/process_reply.defs
index 80454a6b..15282fea 100644
--- a/hurd/process_reply.defs
+++ b/hurd/process_reply.defs
@@ -192,3 +192,5 @@ simpleroutine proc_get_code_reply (
RETURN_CODE_ARG;
start_code: vm_address_t;
end_code: vm_address_t);
+
+skip; /* proc_make_task_namespace */
diff --git a/hurd/process_request.defs b/hurd/process_request.defs
index 7565f03f..a8bf820c 100644
--- a/hurd/process_request.defs
+++ b/hurd/process_request.defs
@@ -407,3 +407,13 @@ simpleroutine proc_set_code_request (
simpleroutine proc_get_code_request (
process: process_t;
ureplyport reply: reply_port_t);
+
+/* Create a new task namespace. PROCESS claims the responsibility to
+ manage all tasks in this namespace. Any task created in this
+ namespace will automatically be declared a child of PROCESS, and a
+ `mach_notify_new_task' message is sent to NOTIFY. If PROCESS dies,
+ the proc server will terminate all tasks in the namespace. */
+simpleroutine proc_make_task_namespace_request (
+ process: process_t;
+ ureplyport reply: reply_port_t;
+ notify: mach_port_send_t);