Re: WINE + NX (No eXecute) support for x86, 2.6.7-rc2-bk2

From: Mike McCormack
Date: Sun Jun 06 2004 - 09:50:25 EST



David Woodhouse wrote:

Actually doesn't a kernel space loader let you discard text pages and
fix them up again on demand as Windows does, rather than doing the
relocations at load time and then having the pages considered dirty so
they have to be swapped instead of just discarded?

Yes, that would be one advantage of having a PE loader in the kernel. David Howells of Redhat was working on a kernel module that implemented all of the wineserver functionality, including a PE loader a while back. Unfortunately that effort did not get anywhere. The code is still at:

http://cvs.winehq.com/cvsweb/kernel-win32

If there were a PE/COFF binary format handler in the kernel, it would still be able to load ELF executables, as Wine requires glibc, X11, etc.

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/