Re: STREAMS user-space stuff

Roger Espel Llima (espel@llaic.u-clermont1.fr)
Wed, 16 Sep 1998 18:56:42 +0200


Zack Weinberg wrote:
> >: By user-space interface I mean getpmsg, putpmsg, the streams ioctls,
> >: and some /dev entries. It seems to me that it would be possible to
> >: implement these as a thin layer on top of the existing network and
> >: terminal code.
> >
> >STREAMS includes DLPI - a driver/kernel interface for networking drivers.
> >In fact, I think that is the most often used feature of STREAMS. The kernel
> >is never going to accept STREAMS drivers.
>
> That's fine with me.
>
> >What you are talking about is making STREAMS modules possible.
>
> Actually no. I'm a libc hacker. All I care about is being able to take a
> _user_ program written to STREAMS and port it to Linux with a recompile.
>
> That means implementing getpmsg() and putpmsg() which are recv() and send()
> only different. It also means faking the STREAMS ioctls and /dev entries.

That could also help with UNIX98 compliance... the opengroup website
(http://www.UNIX-systems.org/apis.html) lists getpmsg, putpmsg, fattach
and the like as mandatory.

-- 
Roger Espel Llima, espel@llaic.u-clermont1.fr
http://www.eleves.ens.fr:8080/home/espel/index.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/