Skip to content

Improve _FORTIFY_SOURCE robustness

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2configure: support passthrough of -Dxxx args to mesonconfigure+2 -03 replies
2/2osdep: set _FORTIFY_SOURCE=2 when optimization is enabledinclude/qemu/osdep.h meson.build util/coroutine-sigaltstack.c +1 more+8 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Improve _FORTIFY_SOURCE robustness

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(-)
Signature · 1 line
2.41.0