diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-05-18 22:27:24 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-22 13:34:39 +0200 |
commit | 849c984fce3e9ad017f3d6e36ba773fe73811471 (patch) | |
tree | 6db15d46970f4f5e7ba52cc88f0ffc6719ecbb36 /units/sysinit.target | |
parent | ab8d88de3a49506ba854743aada8e4559e76b4e1 (diff) | |
download | systemd-849c984fce3e9ad017f3d6e36ba773fe73811471.tar.gz |
alloc-util: introduce MALLOC_SIZEOF_SAFE() helper
It's a wrapper around malloc_usable_size() that is supposed to be
compatible with _FORTIFY_SOURCES=1, by taking the
__builtin_object_size() data into account, the same way as the
_FORTIFY_SOURCES=1 logic does.
Fixes: #19203
(cherry picked from commit 6df28e1f847d68ad37ffe3f4ff47745b55233861)
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1975564
Diffstat (limited to 'units/sysinit.target')
0 files changed, 0 insertions, 0 deletions