Re: [PATCH 2/2] Enable full RELRO mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/03/2013 05:41 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> By passing the flags -z relro -z now to the linker, we can force
> it to resolve all library symbols at startup, instead of on-demand.
> This allows it to then make the global offset table (GOT) read-only,
> which makes some security attacks harder.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  configure.ac            |  1 +
>  daemon/Makefile.am      |  1 +
>  m4/virt-linker-relro.m4 | 15 +++++++++++++++
>  src/Makefile.am         | 43 +++++++++++++++++++++++++++++++------------
>  tools/Makefile.am       |  2 ++
>  5 files changed, 50 insertions(+), 12 deletions(-)
>  create mode 100644 m4/virt-linker-relro.m4
> 

> +++ b/m4/virt-linker-relro.m4
> @@ -0,0 +1,15 @@
> +dnl
> +dnl Check for -z now and -z relro linker flags

Same comment about copyright blurb.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]