On Mon, Mar 31, 2008 at 10:40:41PM +0800, fang zheng wrote: > Does system call must run previllaged mode? > If this is true, UML kernel run on the host user space, > how does it(UML kernel) deal with system calls from UML processes?
There's nothing magic about system calls. They can be run in host userspace - there just needs to be a distinction between userspace and kernelspace within UML. And that distinction is whether or not your system calls are allowed to run on the host or not. > Does guest OS have the same system calls with host OS? Not necessarily. > So system calls of UML processes are annulled and it run the system call > functions on the host? Of course not. What would be the point of nullifying them in that case? Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user