]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: also protect the library name resolution against concurrent accesses
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Apr 2025 14:56:44 +0000 (16:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2025 14:25:47 +0000 (16:25 +0200)
commit8d0c6336778fed316a174fd278c78a88f7dd6975
tree3610bf4b929dcb1839afa2341b79fea303c1e11d
parent5b5960359fcc154d53334ef3fd357dba325fa069
MINOR: tools: also protect the library name resolution against concurrent accesses

This is an extension of eb41d768f ("MINOR: tools: use only opportunistic
symbols resolution"). It also makes sure we're not calling dladddr() in
parallel to dladdr_and_size(), as a preventive measure against some
potential deadlocks in the inner layers of the libc.
src/tools.c