mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 04:36:49 +02:00
8201b60565
It's hard to disable ASLR on current macOS releases, for testing with -DEXEC_BACKEND. You could already set the environment variable PG_SHMEM_ADDR to something not likely to collide with mappings created earlier in process startup. Let's also provide a default value that works on current releases and architectures, for developer convenience. As noted in the pre-existing comment, this is a horrible hack, but -DEXEC_BACKEND is only used by Unix-based PostgreSQL developers for testing some otherwise Windows-only code paths, so it seems excusable. Back-patch to all supported branches. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de |
||
---|---|---|
.. | ||
aix | ||
hpux | ||
tas | ||
win32 | ||
.gitignore | ||
atomics.c | ||
Makefile | ||
posix_sema.c | ||
sysv_sema.c | ||
sysv_shmem.c | ||
win32_sema.c | ||
win32_shmem.c |