On Monday 07 November 2005 23:13, Can Sar wrote:
> Hi,
>
> I am trying to make a 1 thread version of UML that does not need to
> be able to support user level programs.

Why?

Did you ever read Rik van Reil's list of the dumbest patches he's ever seen?  
This is the first entry in the list:

http://www.surriel.com/potm/apr2001.shtml

> So I don't care about systemcall interception or anything like that,

*blink*  *blink*

Ok, you want user mode linux, but you don't want it to actually run user 
processes, nor do want it to be able to intercept system calls.

Um...  What's left?

> I just want a copy of 
> UML that gets a basic kernel environment running (where I could call
> some kernel functions like sys_read or sys_open and then exit) that
> never calls fork on the host.

vfork, maybe?

Have you tried just loading a module into the existing User Mode Linux?

> Sorry if this all sounds a bit weird, it's for a research project and
> we are trying to port UML to an environment that only supports single
> threaded operation.

Define "port".  (Have you looked at mmu-less linux?  Are you saying you 
haven't got a timer interrupt and can't fake up some kind of green-threads 
approach like people managed to do under _DOS_?)

Rob


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to