selinux: use mallocinfo2() if it exists
authorLennart Poettering <lennart@poettering.net>
Mon, 3 May 2021 18:36:32 +0000 (20:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 May 2021 14:00:53 +0000 (16:00 +0200)
commit1885169c2f256f7e226455d91592644e8e7711f2
tree8103138ea1dee92b7a67d219f76d0ecb9eb2d983
parent8fc1efa88fb935ab4357fa39ed71ccb70df55d7e
selinux: use mallocinfo2() if it exists

New glibc deprecated mallocinfo(), even newer glibc added mallocinfo2()
as replacement. Use it, if it exists.

Follow-up for 4b6f74f5a0943e0abfa8e6997811f8f7b7f00a15 and related
commits.
meson.build
src/basic/selinux-util.c