debug: Improve mqueue.h fortify warnings with clang
commitc23107effbfe5300cee216a401009ebbc6e274f4
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 8 Feb 2024 18:46:22 +0000 (8 15:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 27 Feb 2024 13:52:59 +0000 (27 10:52 -0300)
treef424f4744d7ae8a0d83e1558fdced94d4783ad85
parent86889e22db329abac618c6a41f86c84657a15324
debug: Improve mqueue.h fortify warnings with clang

It improve mq_open.  The compile and runtime checks 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>
rt/bits/mqueue2.h
rt/mqueue.h