PostgreSQL and ASLR on Linux - Mailing list pgsql-hackers

From Robert Lerche (rlerche)
Subject PostgreSQL and ASLR on Linux
Date
Msg-id EB5EEE071F880B45883AD5C6F0DF717204745B9B@xmb-rcd-x13.cisco.com
Whole thread Raw
Responses Re: PostgreSQL and ASLR on Linux
List pgsql-hackers

Hi.  Has anyone had experience building PostgreSQL to support Address Space Layout Randomization (ASLR)?  I recently took a brute-force approach (compiling everything with -fPIC and specifying -pie on all executables).  This worked, but a (very superficial) performance test indicated a high cost (around 50%, much more than I expected).  This was on 64-bit Linux x86.

 

Google turns up some references to the Ubuntu distribution of version 8.3 being built this way but nothing much more interesting.

 

I’d appreciate any information or help anyone can give me on this.  Thanks.

 

 

 

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] 9.3beta2: Failure to pg_upgrade
Next
From: "MauMau"
Date:
Subject: Re: [9.3 bug] disk space in pg_xlog increases during archive recovery