public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* WINE + NX (No eXecute) support for x86, 2.6.7-rc2-bk2
@ 2004-06-06  6:09 Mike McCormack
  2004-06-06  5:26 ` Ingo Molnar
  2004-06-06  7:32 ` Christoph Hellwig
  0 siblings, 2 replies; 38+ messages in thread
From: Mike McCormack @ 2004-06-06  6:09 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel


Linus Torvalds wrote:

> Just out of interest - how many legacy apps are broken by this? I assume
> it's a non-zero number, but wouldn't mind to be happily surprised.

Wine depends upon being able to execute code on the heap, and there are 
probably Windows EXEs that depend upon being able to execute code on the 
stack.

Fedore Code 1's exec-shield patch broke Wine badly, as there was no way 
for an application to turn it off from user space, and Wine depended 
upon certain areas of virtual memory being free.

We developed a hack to work around this problem by creating a staticly 
linked binary to reserve memory then load ld-linux.so.2 and a 
dynamically executable into memory manually and run start them.

So, just to confirm, an executable will be able to be built so that it 
can request an executable stack and heap using PT_GNU_STACK or something 
like that, right?

thanks,

Mike


^ permalink raw reply	[flat|nested] 38+ messages in thread
[parent not found: <23Y4Y-6F5-1@gated-at.bofh.it>]

end of thread, other threads:[~2004-06-11  9:53 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-06  6:09 WINE + NX (No eXecute) support for x86, 2.6.7-rc2-bk2 Mike McCormack
2004-06-06  5:26 ` Ingo Molnar
2004-06-06  8:29   ` Mike McCormack
2004-06-06  7:32     ` Arjan van de Ven
2004-06-08  9:20       ` Jakub Jelinek
2004-06-08 11:15         ` Mike McCormack
2004-06-08 10:32           ` Ingo Molnar
2004-06-08 12:01             ` Mike McCormack
2004-06-09  1:40             ` John Reiser
2004-06-09  2:27               ` Paul Jackson
2004-06-06  7:32 ` Christoph Hellwig
2004-06-06  9:13   ` Mike McCormack
2004-06-06  8:10     ` Christoph Hellwig
2004-06-06  9:37       ` Mike McCormack
2004-06-06  8:39         ` Christoph Hellwig
2004-06-06  8:43           ` Christoph Hellwig
2004-06-06 10:20             ` Mike McCormack
2004-06-06 11:17             ` Felipe Alfaro Solana
2004-06-07  4:20         ` Horst von Brand
2004-06-07 14:19       ` Ingo Molnar
2004-06-08 21:50         ` Robert White
2004-06-08 21:57           ` Robert White
2004-06-09 16:53           ` Jesse Pollard
2004-06-09 20:53             ` Robert White
2004-06-10 13:35               ` Jesse Pollard
2004-06-10 21:13                 ` Robert White
2004-06-11  9:50                   ` Marc Bevand
2004-06-09 17:14           ` Jesper Juhl
2004-06-09 18:02             ` Evaldo Gardenali
2004-06-09 19:58             ` Felipe Alfaro Solana
2004-06-10 18:07             ` Stefanos Harhalakis
2004-06-06 11:38     ` David Woodhouse
2004-06-06 15:58       ` Mike McCormack
2004-06-07  8:49       ` David Howells
     [not found] <23Y4Y-6F5-1@gated-at.bofh.it>
     [not found] ` <240qb-8ir-7@gated-at.bofh.it>
     [not found]   ` <240Tc-gV-5@gated-at.bofh.it>
     [not found]     ` <2412S-pU-3@gated-at.bofh.it>
     [not found]       ` <24vX0-81P-7@gated-at.bofh.it>
2004-06-07 17:40         ` Andi Kleen
2004-06-08  9:42           ` Eric W. Biederman
     [not found]         ` <24WNz-4pO-3@gated-at.bofh.it>
2004-06-10 18:57           ` Bill Davidsen
2004-06-10 21:33             ` Robert White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox