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

Daniel P. Berrange posted 5 patches 6 years, 6 months ago
Failed in applying to current master (apply log)
.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
[libvirt] [PATCH dbus 0/5] Harden the build process
Posted by Daniel P. Berrange 6 years, 6 months ago
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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH dbus 0/5] Harden the build process
Posted by Pavel Hrdina 6 years, 6 months ago
On Fri, Oct 27, 2017 at 02:31:38PM +0100, Daniel P. Berrange wrote:
> 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

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list