• Ken Thomases's avatar
    libwine: On Mac, disable ASLR for Wine processes. · ecd53057
    Ken Thomases authored
    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: 's avatarKen Thomases <ken@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    ecd53057
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...