PROT_EXEC mmap/mprotect, i386 PAE + NX broken, x86-64 2.6.17-rc2

Alistair John Strachan s0348365 at sms.ed.ac.uk
Fri Apr 21 22:30:24 CDT 2006


Hi,

Just a heads up that WINE seems to suffer from breakage if executed as a 32bit 
binary on an x86-64 kernel as of 2.6.17-rc, because (according to Andi Kleen) 
i386 NX is now enabled by default, and on x86-64 i386 behaves like a PAE 
enabled i386 kernel when performing IA32 emulation.

I've attached the entire thread for reference, as unfortunately I do not have 
the time to debug this problem, but thought that probably one of you would 
like to know.

Thread is also available to read here:

http://lkml.org/lkml/2006/4/21/99

Andi suspects that WINE is not making one of its mappings PROT_EXEC which 
causes a fault with NX enabled.

-- 
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-------------- next part --------------
An embedded message was scrubbed...
From: Alistair John Strachan <s0348365 at sms.ed.ac.uk>
Subject: Re: Linux 2.6.17-rc2
Date: Fri, 21 Apr 2006 11:21:20 +0100
Size: 5356
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0006.eml
-------------- next part --------------
An embedded message was scrubbed...
From: Linus Torvalds <torvalds at osdl.org>
Subject: Re: Linux 2.6.17-rc2
Date: Fri, 21 Apr 2006 09:40:26 -0700 (PDT)
Size: 4102
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0007.eml
-------------- next part --------------
An embedded message was scrubbed...
From: Stephen Rothwell <sfr at canb.auug.org.au>
Subject: Re: Linux 2.6.17-rc2
Date: Sat, 22 Apr 2006 03:21:21 +1000
Size: 3650
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0008.eml
-------------- next part --------------
An embedded message was scrubbed...
From: Alistair John Strachan <s0348365 at sms.ed.ac.uk>
Subject: Re: Linux 2.6.17-rc2
Date: Sat, 22 Apr 2006 01:53:44 +0100
Size: 4783
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0009.eml
-------------- next part --------------
An embedded message was scrubbed...
From: Andi Kleen <ak at suse.de>
Subject: Re: Linux 2.6.17-rc2
Date: Sat, 22 Apr 2006 03:07:17 +0200
Size: 4023
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0010.eml
-------------- next part --------------
An embedded message was scrubbed...
From: Andi Kleen <ak at suse.de>
Subject: Re: Linux 2.6.17-rc2
Date: Sat, 22 Apr 2006 00:02:16 +0200
Size: 4076
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20060422/9bae33c7/attachment-0011.eml


More information about the wine-devel mailing list