[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 04/37: hurd: add `proc_make_task_namespace'
From: |
Samuel Thibault |
Subject: |
[hurd] 04/37: hurd: add `proc_make_task_namespace' |
Date: |
Mon, 09 Feb 2015 09:59:09 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208
in repository hurd.
commit 808073c49814b415b7ad6226a3e8c95bb1dbc277
Author: Justus Winter <address@hidden>
Date: Wed Nov 12 15:30:18 2014 +0100
hurd: add `proc_make_task_namespace'
Add a new RPC to the process protocol to create task namespaces.
These can be used by an unprivileged process to claims the
responsibility to manage all tasks in this namespace. Any task
created in this namespace will automatically be declared a child of
the root process, and a `mach_notify_new_task' message is sent to a
given port. If the root process dies, the proc server will terminate
all tasks in the namespace.
* hurd/process.defs (proc_make_task_namespace): New RPC.
---
hurd/process.defs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/hurd/process.defs b/hurd/process.defs
index 498faba..4ceb69e 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -1,5 +1,5 @@
/* Definitions for process server interface
- Copyright (C) 1992,93,94,95,96,97,2001,2013 Free Software Foundation
+ Copyright (C) 1992,93,94,95,96,97,2001,13,14 Free Software Foundation
This file is part of the GNU Hurd.
@@ -404,3 +404,12 @@ routine proc_get_code (
process: process_t;
out start_code: vm_address_t;
out end_code: vm_address_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. */
+routine proc_make_task_namespace (
+ process: process_t;
+ notify: mach_port_send_t);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 35/37: Explicit the keymap compatibility flags, (continued)
- [hurd] 35/37: Explicit the keymap compatibility flags, Samuel Thibault, 2015/02/09
- [hurd] 03/37: proc: implement `proc_make_task_namespace', Samuel Thibault, 2015/02/09
- [hurd] 28/37: auth: simplify expression, Samuel Thibault, 2015/02/09
- [hurd] 29/37: auth: remove implicit assumption about the bootstrap process, Samuel Thibault, 2015/02/09
- [hurd] 22/37: Backport Linux changes for proper TCP EOF handling, Samuel Thibault, 2015/02/09
- [hurd] 05/37: libpager: remove the `seqno' parameters, Samuel Thibault, 2015/02/09
- [hurd] 06/37: libpager: use libports notification functions, Samuel Thibault, 2015/02/09
- [hurd] 09/37: Replace `bcopy' with `memcpy' or `memmove' as appropriate, Samuel Thibault, 2015/02/09
- [hurd] 31/37: console: fix error and notification port handling, Samuel Thibault, 2015/02/09
- [hurd] 08/37: Replace `bzero' with `memset', Samuel Thibault, 2015/02/09
- [hurd] 04/37: hurd: add `proc_make_task_namespace',
Samuel Thibault <=