Subject: Re: Doors
To: David Laight <david@l8s.co.uk>
From: Jens Wiklander <jnilsson@ludd.ltu.se>
List: tech-kern
Date: 05/15/2007 22:32:43
On 5/14/07, David Laight <david@l8s.co.uk> wrote:
> On Mon, May 14, 2007 at 10:41:47AM -0700, Jason Thorpe wrote:
> >
> > On May 12, 2007, at 4:42 AM, Jens Wiklander wrote:
> >
> > >How close should our doors API follow the Solaris API? I think
> > >that the fact that our would implementation relies on sockets
> > >instead of streams shouldn't be hidden but in all other aspects
> > >should be as close as possible.
> >
> > If you're going to implement Doors, it should use the same API unless
> > there is some reason that it can't.  Any deviations from the Solaris
> > API should be fully vetted on tech-kern.
>
> Seconded - since we ought to support them when emulating solaris binaries.
> OTOH I've seem 'dooor' calls in truss output - but have no idea
> what they are for.

OK, I see. I'll try to implement the same API as in Solaris. I
suppose the design shown in Solaris Internals is a good start to
try to match.

If someone has some thoughts or hints about implementing doors
in NetBSD I'm all ears.

Jens