bug-hurd
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]