]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dl_iterate_phdr(3): provide exclusive locking for callback when statically linked.
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 20 Aug 2020 15:19:09 +0000 (15:19 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 20 Aug 2020 15:19:09 +0000 (15:19 +0000)
commit22517af2c1e370b66ac9a167c1828f22ef8bc857
tree8b5ba44dbe3a802c7d999630566bb293548929d0
parent9060f2c3920dde41226cf52b925bc949815c7f01
dl_iterate_phdr(3): provide exclusive locking for callback when statically linked.

Apparently llvm unwinder depends on the external locking for callback.

Reviewed by: cem, emaste
Tested by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D26109
lib/libc/gen/dlfcn.c