[libvirt] [PATCH dbus 0/5] Harden the build process

Daniel P. Berrange berrange at redhat.com
Fri Oct 27 13:31:38 UTC 2017


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




More information about the libvir-list mailing list