Hello,
I would like to share this preview of a client-server mechanism with the
rest of the mailing list. It is a .tar.bz2 archive which comes with a
makefile.
The client-server mechanism allows user programs to use svgalib with no
compromising of system security. The file app.c sets up a linear memory
access, then writes directly to the video array.
The nice thing about it is that the file app.c follows the usual svgalib
syntax, so converting to client-server only requires a recompile (with a
-lvgaclient switch in the future.)
This approach is safe because user programs do not need access to
registers; they only require to be able to mmap, and this can be
controlled using a module like svgalib_helper.
I hope client-server might be added to a future release of svgalib.
Mihai
client.tar.bz2