On Monday 18 April 2005 16:05, Jeff Dike wrote: > On Mon, Apr 18, 2005 at 01:31:14PM +0200, Wesley W. Terpstra wrote: > > Hi, I know that user-mode-linux has been ported to linux/ppc already. > > What I was wondering is if there was work underway to port it to MacOS X? > > That is to say, running a linux kernel from the BSD-ish MacOS X userland. > > > > This would be really cool; it would mean MacOS X users could run linux > > applications 'natively' under UML with X forwarding to MacOS X's X > > server. I couldn't imagine a more ideal configuration. :-) > > > > How hard would such an undertaking be? > > That's an OS port, which is very different from an arch port. There is > work underway (see the os abstraction patches at > http://user-mode-linux.sf.net/patches.html) to make UML OS-portable. > > arch/um/include/os.h will show you what you currently have to implement for > a new OS. This is subject to change since we have only moved the existing > OS-specific stuff and not tried to rationalize it yet. > > Jeff Currently (i.e. in committed code, not counting the changes mentioned above), os.h abstracts away mostly some file access and process handling functions.
That said, to do such a port there is the need for a Mac OS X developer... since Mac OS X is still Unix that should not be too hard, but I don't know. For instance, does ptrace() exists (check via "man ptrace")? I think that incapsulating this call is not a work in progress, and it won't be until we don't have at least another API to port UML to. Also, I heard rumors of a FreeBSD port (although I don't remember if it was just a request); since the FreeBSD roots of MacOSX, a lot of code could probably be shared by those ports. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel