Sweden-Number/libs/wine
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
..
Makefile.in makefiles: Remove some unused variables. 2018-12-05 10:47:05 +01:00
casemap.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
collation.c libwine: Update the character tables to Unicode 5.2. 2010-05-06 19:25:04 +02:00
config.c libwine: On Mac, disable ASLR for Wine processes. 2019-02-04 15:39:36 +01:00
debug.c libs/wine: Use the ARRAY_SIZE() macro. 2018-10-25 20:37:06 +02:00
ldt.c libwine: Set a non-null entry for the GDT selector to make sure it's properly reserved. 2017-04-21 18:55:17 +02:00
loader.c libwine: Do not restrict base address of main thread on 64 bit mac os. 2018-11-29 10:46:38 +01:00
mmap.c libwine: Reserve memory areas for ARM64 in case we don't have a preloader. 2017-11-17 10:28:44 +01:00
port.c libwine: Fix missing semi-colon. 2018-12-06 17:01:09 +01:00
sortkey.c libwine: Generate the composition tables access code along with the tables. 2016-02-19 11:38:14 +09:00
string.c libwine: strtoulW and strtolW should set errno to ERANGE if an overflow will occur. 2016-02-23 20:22:21 +09:00
wctype.c tools: Update to Unicode 11.0.0. 2018-07-03 12:01:40 +02:00
wine.def libwine: Do not export any of the LDT support on non-i386 platforms. 2009-12-30 18:05:02 +01:00
wine.map libwine: Export functions that return the Wine version number and build id. 2008-03-26 23:38:36 +01:00