summaryrefslogtreecommitdiff
path: root/thread_local_alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-10-19 08:59:33 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-10-19 12:00:44 +0300
commit75f52d10108e3bbe80144377236ac4c3f5086c36 (patch)
tree72b2a2e3accb95ecab16aec87f17c6ad5e65ae71 /thread_local_alloc.c
parentffd2f9fe0e7641596e586ce92b0fd3804adec2cd (diff)
downloadbdwgc-75f52d10108e3bbe80144377236ac4c3f5086c36.tar.gz
Abort with appropriate message if first call of mmap fails with EPERM
(fix of commit 1c62b365b) This is observed on Linux, at least. * os_dep.c [!OS2 && !PCR && !AMIGA && !USE_WINALLOC && !MACOS && !DOS4GW && !NINTENDO_SWITCH && !NONSTOP && !SN_TARGET_ORBIS && !SN_TARGET_PS3 && !SN_TARGET_PSP2 && !RTEMS && !__CC_ARM && MMAP_SUPPORTED && !MSWIN_XBOX1] (GC_unix_mmap_get_mem): Call ABORT() if allocation failed and GC_pages_executable and last_addr==HEAP_START and errno is EPERM.
Diffstat (limited to 'thread_local_alloc.c')
0 files changed, 0 insertions, 0 deletions