Make EXEC_BACKEND more convenient on Linux and FreeBSD.

Thomas Munro <tmunro@postgresql.org>

Commit: f3e78069db7f7a753ebfe1010b810e47e0d2aa9a
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-01-10T11:04:33Z
Releases: 15.0
Make EXEC_BACKEND more convenient on Linux and FreeBSD.

Try to disable ASLR when building in EXEC_BACKEND mode, to avoid random
memory mapping failures while testing.  For developer use only, no
effect on regular builds.

Suggested-by: Andres Freund <andres@anarazel.de>
Tested-by: Bossart, Nathan <bossartn@amazon.com>
Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de

Files

PathChange+/−
configure modified +1 −1
configure.ac modified +1 −0
src/bin/pg_ctl/pg_ctl.c modified +4 −0
src/common/exec.c modified +33 −0
src/include/pg_config.h.in modified +3 −0
src/include/port.h modified +5 −0
src/test/regress/pg_regress.c modified +4 −0
src/tools/msvc/Solution.pm modified +1 −0

Discussion