Has any thought been given to making SKAS4 suitably generic that it
could be used for more than just UML?
I'm thinking of some arrangement where one process can handle multiple
address spaces for multiple other processes.
This would have greater application than merely UML--for example, Wine
could also be adapted to use SKAS, potentially a killer app, as this
could make Wine more secure than Windows. (Running all Wine code in its
own address space, separate from the apps Wine runs, could insulate
against some application buffer overruns. (due to the way the Win32 API
is accessed))
Hmm, what would we need for this to work?
--ability to create/release "remote" address spaces
--read/write in those "remote" address spaces
-- possibly even capability to map a section of a "remote" address space
into the control process, do something, then release it
--ability to configure pages in a "remote" address space such that
accesses trap to the control process
--ability to trap all possible syscalls from such an address space
for the big bonus:
--ability to use either the host scheduler or some code from the
not-yet-developed libUML to run threads in the "remote" address spaces
Hmm, with a little more effort, this could become a generic
compatibility layer for non-Linux programs--for each foreign platform,
one would need only a control program that manages the foreign processes
and implements the foreign syscalls.
{Contemplates HURD on Linux :-)}
As I understand it, the Linux mm system is internally moving in this
kind of direction already. SKAS would become primarily a system by
which pages can have backing store implemented in userspace and "remote"
address spaces managed.
This direction would certainly help push SKAS into the stock kernel.
PS: If I understand correctly, UML with the current SKAS3 works by
swapping processes into and out of a single "user" address space. I
propose a system where many distinct "user" address spaces are
maintained by the kernel and execution is placed whereever the user-mode
scheduler says.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel