Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-29 Thread Brad Smith
On 20/11/11 12:34 PM, Blue Swirl wrote: On Sun, Nov 20, 2011 at 09:11, Avi Kivity wrote: On 11/15/2011 08:12 PM, Avi Kivity wrote: Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all t

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-21 Thread Anthony Liguori
On 11/15/2011 12:12 PM, Avi Kivity wrote: Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all targets. In addition, set the relocation sections to read-only (relro) when available; this

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-21 Thread Avi Kivity
On 11/20/2011 07:34 PM, Blue Swirl wrote: > On Sun, Nov 20, 2011 at 09:11, Avi Kivity wrote: > > On 11/15/2011 08:12 PM, Avi Kivity wrote: > >> Change the default on x86 Linux hosts to building PIE (position > >> independent executables); instead of restricting the option to > >> user-only targets

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-20 Thread Blue Swirl
On Sun, Nov 20, 2011 at 09:11, Avi Kivity wrote: > On 11/15/2011 08:12 PM, Avi Kivity wrote: >> Change the default on x86 Linux hosts to building PIE (position >> independent executables); instead of restricting the option to >> user-only targets, apply it to all targets. >> >> In addition, set th

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-20 Thread Avi Kivity
On 11/15/2011 08:12 PM, Avi Kivity wrote: > Change the default on x86 Linux hosts to building PIE (position > independent executables); instead of restricting the option to > user-only targets, apply it to all targets. > > In addition, set the relocation sections to read-only (relro) when > availab

[Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-15 Thread Avi Kivity
Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all targets. In addition, set the relocation sections to read-only (relro) when available; this reduces the attack surface by disallowing ch