[PATCH] ntdll: Use the old mmap() wrapper on 32-bit Mac OS. (try 3)

James McKenzie jjmckenzie51 at earthlink.net
Mon May 17 22:32:53 CDT 2010


Charles Davis wrote:
> On 5/17/10 9:10 PM, James McKenzie wrote:
>   
> Maybe. Actually, Mac OS X doesn't use a stock FreeBSD kernel. It uses a
> modified Mach kernel (the way NT uses a "modified microkernel") called
> "XNU". Many of XNU's BSD parts were forked from FreeBSD (a few parts
> come from other BSDs).
>
> You can get the source from http://www.opensource.apple.com . It's the
> 'xnu' project, after selecting a version of Mac OS X.
>   
Next stupid question:  How does the patch get back into the XNU kernel 
code?  Is there a project for it, or do we dump it on Apple's front door 
hoping that they will integrate it?
>> If it is not, then it should be something under consideration by the
>> Wine project.  Hacking the kernel to make one program work is not a
>> 'best practice'.
>>     
> That might be true, but AJ doesn't seem to be warm to the idea of doing
> this in Wine.
>   
It appears that it the case.  Sometimes sticking to your guns gets you 
shot (at least around here in Southeastern Arizona.)

However, this is your fix and definitely your call if you want to press 
AJ about it, or if you want to go to Apple and get the fix into the kernel.

James McKenzie




More information about the wine-devel mailing list