Re: Shared Mem from mmap areas

teunis (teunis@mauve.computersupportcentre.com)
Mon, 8 Dec 1997 12:25:05 -0700 (MST)


On Fri, 5 Dec 1997, Zach Metzinger wrote:

> On Fri, Dec 05, 1997 at 03:54:26PM -0700, teunis wrote:
>
> > > I want to mmap the framebuffer and reg's from the graphiccard in a suid-
> > > server and reexport this with shared mem to another not suid=0 programm.
> > > is this possible?
> >
> > Yes - if you setup the client using vm86-functions.
> > (dosemu)
> > But that doesn't help for native apps....
> >
> > Otherwise : Please! How? We need this we do :)
>
> You might want to take a look at the Linux GGI project, which will save
> you days of work and lots of headaches. I think what you are wanting to
> do coincides with the work the GGI group is already well into.
>
> http://synergy.caltech.edu/~ggi/

Actually I guess I should phrase better (I'm working on fixing the GGI
driver for my own card (Trio64V+) [in spare time]...)
[if anyone out here in kernel-land cares the basic GGI/KGI framework is
developed enough now to run. Some things (like acceleration) are still
being worked at and reorganized but most videocards work. So do most
programs (some svgalib and there's a dedicated XGGI-server).

How to, say, mmap a large memory block then export bits of it to other
users?

I need to know how?

Very handy for IPC-systems (Inter-Process-Communication)

Without clean communications threading is useless...
And it'd be handy to include new programs and map to them :)

G'day, eh? :)
- Teunis