socket: Improve fortify with clang
commit4289b00d4393f490515527864cf09093f4f8c2c4
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 8 Feb 2024 18:46:18 +0000 (8 15:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 27 Feb 2024 13:52:59 +0000 (27 10:52 -0300)
tree153d658fe0ebf9537179bf855b4f7cbb3ef37ffd
parentec307a10865a3e43f611b725fec952a93e4d1893
socket: Improve fortify with clang

It improve fortify checks recv, recvfrom, poll, and ppoll.  The compile
and runtime hecks have similar coverage as with GCC.

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