stdlib: Improve fortify with clang
commitd39a893ed6de8e63ffbfbcc4b7176a2fa852f8a8
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 8 Feb 2024 18:46:16 +0000 (8 15:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 27 Feb 2024 13:52:58 +0000 (27 10:52 -0300)
tree24b804b50b6b04892a7e178125f1a1d6fabccab1
parent5e9696b26540d02639e0d16532e0f3d53c7e5cd0
stdlib: Improve fortify with clang

It improve fortify checks for realpath, ptsname_r, wctomb, mbstowcs,
and wcstombs.  The runtime and compile checks have similar coverage as
with GCC.

Checked on aarch64, armhf, x86_64, and i686.
Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
stdlib/bits/stdlib.h