[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unprivileged Subhurds
From: |
Justus Winter |
Subject: |
Re: Unprivileged Subhurds |
Date: |
Thu, 13 Nov 2014 12:44:12 +0100 |
User-agent: |
alot/0.3.5 |
Quoting Richard Braun (2014-11-13 12:25:14)
> On Thu, Nov 13, 2014 at 12:09:03PM +0100, Justus Winter wrote:
> > Possession of the privileged host control port, and it is only
> > possible to register for these notifications once.
>
> How does this recurse in the subhurd ?
Well, the proc server registers for these notifications. I'll add
this RPC to the process protocol:
/* 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);
`boot' will use this call to create a task namespace, and from that
point on the proc server will relay the notifications for all tasks in
that namespace to `boot', which will keep a list of these task ports
so that it can implement `S_processor_set_tasks'.
Justus
- Unprivileged Subhurds, Justus Winter, 2014/11/12
- [PATCH gnumach 2/2] include: add X_IMPORTS to ipc definitions, Justus Winter, 2014/11/12
- [PATCH gnumach 1/2] kern: provide notifications about new tasks, Justus Winter, 2014/11/12
- Re: Unprivileged Subhurds, Richard Braun, 2014/11/13
- Re: Unprivileged Subhurds, Justus Winter, 2014/11/13
- Re: Unprivileged Subhurds, Richard Braun, 2014/11/13
- Re: Unprivileged Subhurds,
Justus Winter <=
- [PATCH hurd 1/5] Makeconf: handle the task_notify protocol, Justus Winter, 2014/11/13
- [PATCH hurd 2/5] proc: register for new task notifications, Justus Winter, 2014/11/13
- [PATCH hurd 3/5] proc: implement `proc_make_task_namespace', Justus Winter, 2014/11/13
- [PATCH hurd 4/5] hurd: add `proc_make_task_namespace', Justus Winter, 2014/11/13
- [PATCH hurd 5/5] proc: fix build, Justus Winter, 2014/11/13
- Re: Unprivileged Subhurds, Richard Braun, 2014/11/13