[PATCH 0/2] Improve _FORTIFY_SOURCE robustness

Daniel P. Berrangé posted 2 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230922135555.241809-1-berrange@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Stefan Hajnoczi <stefanha@redhat.com>, Kevin Wolf <kwolf@redhat.com>
configure                    |  2 ++
include/qemu/osdep.h         |  4 ++++
meson.build                  | 10 ----------
util/coroutine-sigaltstack.c |  4 ++--
util/coroutine-ucontext.c    |  4 ++--
5 files changed, 10 insertions(+), 14 deletions(-)
[PATCH 0/2] Improve _FORTIFY_SOURCE robustness
Posted by Daniel P. Berrangé 7 months, 1 week ago
This ensures that we don't turn on _FORTIFY_SOURCE when the user
turns off optimizations via CFLAGS env variable. See patch 2 for
the full details.

Daniel P. Berrangé (2):
  configure: support passthrough of -Dxxx args to meson
  osdep: set _FORTIFY_SOURCE=2 when optimization is enabled

 configure                    |  2 ++
 include/qemu/osdep.h         |  4 ++++
 meson.build                  | 10 ----------
 util/coroutine-sigaltstack.c |  4 ++--
 util/coroutine-ucontext.c    |  4 ++--
 5 files changed, 10 insertions(+), 14 deletions(-)

-- 
2.41.0