Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Andres Freund <andres@anarazel.de>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, Andrew Dunstan <andrew@dunslane.net>,
PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2021-08-11T13:45:45Z
Lists: pgsql-hackers
On Tue, Aug 10, 2021 at 7:59 PM Thomas Munro <thomas.munro@gmail.com> wrote: > I saw claims that you can also link with -Wl,-no_pie or toggle the PIE > bit on your executable and libraries, but that didn't work for me on > 11, Intel (no effect) or ARM (linker option gone). I think that worked for me on older macOS releases, and then it stopped working at some point after some update or reinstall or something. Unfortunately I don't know any more precisely than that, but it does seem like we have to find some other approach to work on modern systems. Hopefully they don't keep whacking this around... -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Make EXEC_BACKEND more convenient on Linux and FreeBSD.
- 6b4dba711a4e 12.15 landed
- 1e4fda6da918 13.11 landed
- 0801345758db 14.8 landed
- f3e78069db7f 15.0 landed
-
Make EXEC_BACKEND more convenient on macOS.
- 8201b60565b8 14.0 landed
- 2c6275423535 13.5 landed
- a8096e30f4d0 12.9 landed
- 0bfefb7dafe0 11.14 landed
- d49e228a664d 10.19 landed
- 715a8668a5f7 9.6.24 landed
- 88cbbbfa3e2b 15.0 landed