aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-12-13 18:05:14 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-12-13 18:05:14 +0000
commit9d9b69b3732314d3900c104cd1d1bc54c2d057a7 (patch)
tree922dabb9d0f630dd93d42df62870eeb2ae911ee4 /sbin
parent37472174e03c5d89b5b788a8b8f8a0b9b78728f5 (diff)
downloadsrc-9d9b69b3732314d3900c104cd1d1bc54c2d057a7.tar.gz
src-9d9b69b3732314d3900c104cd1d1bc54c2d057a7.zip
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
Notes: svn path=/head/; revision=310025
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions