Problem with "exec shield" workaround

Troy Rollo wine at troy.rollo.name
Wed Dec 17 19:44:45 CST 2003


The "exec shield" workaround (loader/main.c, libs/wine/port.c) has a 
side-effect of leaving a several thousand byte area of memory allocated just 
after the reserved pe_area. Under Windows, it is possible to fairly reliably 
map files or allocate memory explicitly using a fixed address of 0x10000000. 
The left-over memory from the loader causes programs that rely on this to 
fail.

It seems that this workaround should either be a user setting or should mmap 
the memory area desired so that it can be removed without leaving behind a 
small fragment after that area.




More information about the wine-devel mailing list