Re: OK, so culicidae is *still* broken
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2017-04-15T21:18:10Z
Lists: pgsql-hackers
On 2017-04-15 17:09:38 -0400, Tom Lane wrote: > Andres Freund <andres@anarazel.de> writes: > > That seems quite reasonable. I'm afraid we're going to have to figure > > out something similar, but more robust, for windows soon-ish :/ > > Why doesn't Windows' ability to map the segment into the new process > before it executes take care of that? Because of ASLR of the main executable (i.e. something like PIE). It'll supposedly become harder (as in only running in compatibility modes) if binaries don't enable that. It's currently disabled somewhere in the VC project generated. Besides that, it'd also be good for security purposes if we didn't have to disable PIE (which also prevents it from being used for the initial backend). Andres
Commits
-
Provide a way to control SysV shmem attach address in EXEC_BACKEND builds.
- 0d7591c67d68 9.2.21 landed
- fddc10146eb2 9.3.17 landed
- 07a990c6e7d1 9.4.12 landed
- bbd4a1b60b6e 9.5.7 landed
- a30f146db4e7 9.6.3 landed
- a74740fbd3bb 10.0 landed
-
Disable RandomizedBaseAddress on MSVC builds
- 7f3e17b4827b 9.4.0 cited