LWN.net Logo

Darwinux: Binary compat support for Mach-O/Darwin in Linux

From:  Kyle Moffett <mrmacman_g4@mac.com>
To:  LKML Kernel <linux-kernel@vger.kernel.org>
Subject:  [RFC][PATCH 0/2] Darwinux: Binary compat support for Mach-O/Darwin in Linux
Date:  Fri, 30 Mar 2007 14:05:22 -0400
Cc:  Linus Torvalds <torvalds@linux-foundation.org>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Archive-link:  Article, Thread

I've gotten some time to start working with this code again and I'm  
looking for some review on my first couple patches.  After these two  
patches the code does little more than print out lots of details  
about the binary being run to the syslog and then fail with -ENOEXEC,  
but it's a start.  I'm currently fixing up my icky memory-mapping  
code to avoid allocating big chunks of kernel memory for tables in  
the binary, and once I make some progress on that I'll submit it too.

I'd appreciate any information on what is required in the load_binary  
function in my binfmt.  In particular, if there's anything which fs/ 
binfmt_elf.c does do which is *NOT* required, I'd be interested to  
know what and why.  Thanks for all your assistance.

Cheers,
Kyle Moffett

Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds