Roland McGrath <[EMAIL PROTECTED]> writes:
> I have been assuming that in your proposal task_create completes without
> waiting for this notification to be received and processed. If the
> notification is a message containing the task port of the creator task,
> then this will arrive as MACH_PORT_DEAD if the creator task dies first, no?
Ah, yes. I see my error now.
Then I think an inheritance scheme is probably best.
How about the following:
Every task gets associated with it a "restricted name". (Alternative
name suggestions welcome.) This is a send right, and I don't envision
anyone ever sending messages on it.
Anyone who has the task port can fetch the restricted name port. But
only a privileged task can set the restricted name port. A new task
gets its restricted name port copied from its parent in task_create.
That seems sufficient for proc to do what it wants, and pretty simple.
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd