|author||Bryan Drewery <bdrewery@FreeBSD.org>||2016-12-13 18:05:14 +0000|
|committer||Bryan Drewery <bdrewery@FreeBSD.org>||2016-12-13 18:05:14 +0000|
Take write lock for rtld_bind before modifying obj_list in dl_iterate_phdr().
This avoids a race with readers such as dladdr(3)/dlinfo(3)/dlsym(3) and the atexit(3) handler. This race was introduced in r294373. Reviewed by: markj, kib, kan MFC after: 2 weeks Sponsored by: Dell EMC Isilon
Notes: svn path=/head/; revision=310025
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions