[PATCH dbus 0/5] Harden the build process

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

 



This hardens the build process by turning on all possible compiler flags and
enabling features like relro and PIE.

Daniel P. Berrange (5):
  util: don't inline virtDBusUtilVirDomainListFreep
  src: annotate parameters that are unused in functions
  build: turn on all practical compiler warning flags
  Enable full RELRO mode
  Build all binaries with PIE

 .gitignore                  |   1 +
 Makefile.am                 |   2 +
 configure.ac                |   5 +
 m4/manywarnings.m4          | 276 ++++++++++++++++++++++++++++++++++++++++++++
 m4/virt-arg.m4              | 154 ++++++++++++++++++++++++
 m4/virt-compile-pie.m4      |  35 ++++++
 m4/virt-compile-warnings.m4 | 225 ++++++++++++++++++++++++++++++++++++
 m4/virt-linker-relro.m4     |  35 ++++++
 m4/warnings.m4              |  79 +++++++++++++
 src/Makefile.am             |  10 +-
 src/domain.c                |  78 ++++++-------
 src/events.c                |  12 +-
 src/main.c                  |  12 +-
 src/manager.c               |   4 +-
 src/util.c                  |  14 +++
 src/util.h                  |  17 +--
 16 files changed, 891 insertions(+), 68 deletions(-)
 create mode 100644 m4/manywarnings.m4
 create mode 100644 m4/virt-arg.m4
 create mode 100644 m4/virt-compile-pie.m4
 create mode 100644 m4/virt-compile-warnings.m4
 create mode 100644 m4/virt-linker-relro.m4
 create mode 100644 m4/warnings.m4

-- 
2.13.6

--
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]

  Powered by Linux