On Wed, Mar 28, 2001 at 02:33:16PM -0500, Roland McGrath wrote:
> Thanks for tracking this down, Marcus.  I would be inclined to change the
> interface so that make_protid consumes the iouser and callers must use dup.
> It is simpler and more concise code just to call dup in the arglist.

Makes sense to me.

> Note that make_protid should check for a null pointer and treat it as ENOMEM.

Uhm. There is a problem with that: Some callers (boot-start.c.
init-startup.c) pass a 0 to make finish_protid to create a iouser for root.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to