wine-wine/libs
Ken Thomases ecd53057b5 libwine: On Mac, disable ASLR for Wine processes.
ASLR can allow dyld to be loaded where it overlaps one of the regions that the
preloader would like to reserve.  That, in turn, can prevent Wine from using the
shared user data region.  With ASLR disabled, dyld will be loaded immediately
after the preloader, which has a defined base address.

This uses an Apple extension to posix_spawn() that allows it to replace the
calling process's image, like a more featureful execve().  The flag to disable
ASLR is technically private SPI, but has remained stable for many versions of
the OS.  And the Mac preloader is already stepping over that line.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 15:39:36 +01:00
..
port libport: Handle partially overlapping buffers. 2019-01-24 17:33:38 +01:00
wine libwine: On Mac, disable ASLR for Wine processes. 2019-02-04 15:39:36 +01:00
wpp wpp: Skip parsing #if expression if it's ignored anyway. 2018-11-12 10:21:51 +01:00