On Mon, Mar 03, 2008 at 04:50:16PM +0530, Pravin wrote:
> I do consider that UML is act of porting Linux on Linux itself. This
> allows linux kernel (guest) to run as user-process on linux kernel
> I am studying the possibility of porting Linux on Minix on similar
> lines. This way, one should be able to run linux on minix systems like
> user process. Something parallel to L4Linux which is port of linux on
> L4 micro-kernel, and mklinux which is a port of linux on Mach
> I wanted some information regarding how we go about this kind of
> porting, and what kind of technical problems are expected in such
The first thing to do is make sure you have a way of virtualizing
Linux (int 0x80/sysenter/syscall) system calls, which means that you
can prevent them from executing on the host, you can read the system
call and the arguments, and make it return with the result of your
choice, including updating output buffers.
You also need to be able to intercept and nullify signals.
Some mechanism for updating a process address space is needed. There
are various ways of doing this, and UML has probably tried all of
> If there are any documentation/links available about these kind of
> porting then it will be of great help for me.
Nothing for porting to another OS.
Work email - jdike at linux dot intel dot com