2f9b8ff00c
One reason that ASLR is tricky is the fact that the cygheap is placed at the end of the DLL and especially that it's expected to be growable. To support ASLR, this construct must go. Define dedicated cygheap memory region and reserve entire region. Commit 3 Megs, as was the default size of the cygheap before. Fix linker script accordingly, drop a now useless version check in get_cygwin_startup_info(). |
||
---|---|---|
.. | ||
child_info.h | ||
clock.h | ||
collate.h | ||
cpuid.h | ||
create_posix_thread.h | ||
cygerrno.h | ||
cygheap.h | ||
cygheap_malloc.h | ||
cygmalloc.h | ||
cygserver.h | ||
cygserver_ipc.h | ||
cygserver_msg.h | ||
cygserver_pwdgrp.h | ||
cygserver_sem.h | ||
cygserver_setpwd.h | ||
cygserver_shm.h | ||
cygthread.h | ||
cygtls.h | ||
cygwait.h | ||
cygwin-cxx.h | ||
cygwin_version.h | ||
cygxdr.h | ||
debug.h | ||
devices.h | ||
dll_init.h | ||
dtable.h | ||
environ.h | ||
errmap.h | ||
exception.h | ||
fhandler.h | ||
fhandler_virtual.h | ||
gcc_seh.h | ||
gmon.h | ||
heap.h | ||
lc_era.h | ||
lc_msg.h | ||
ldap.h | ||
loadavg.h | ||
math.h | ||
memory_layout.h | ||
miscfuncs.h | ||
mmap_alloc.h | ||
mmap_helper.h | ||
mount.h | ||
mqueue_types.h | ||
mtinfo.h | ||
nfs.h | ||
ntdll.h | ||
path.h | ||
pathfinder.h | ||
perprocess.h | ||
pinfo.h | ||
posix_timer.h | ||
profil.h | ||
pwdgrp.h | ||
registry.h | ||
sec_posixacl.h | ||
security.h | ||
select.h | ||
shared_info.h | ||
sigproc.h | ||
spinlock.h | ||
string.h | ||
sync.h | ||
thread.h | ||
timerfd.h | ||
tls_pbuf.h | ||
tty.h | ||
userinfo.h | ||
vstrlist.h | ||
wchar.h | ||
wincap.h | ||
winf.h | ||
wininfo.h | ||
winlean.h | ||
winsup.h |