FreeBSD_HEAD_i386 - Build #2149 - Fixed

From: <jenkins-admin_at_FreeBSD.org>
Date: Wed, 20 Jan 2016 10:22:55 +0000 (GMT)
FreeBSD_HEAD_i386 - Build #2149 - Fixed:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/2149/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/2149/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/2149/console

Change summaries:

294407 by des:
MFV (r285035): fix props (no content changes)

294373 by kib:
Do not call callbacks for dl_iterate_phdr(3) with the rtld bind and
phdr locks locked.  This allows to call rtld services from the
callback, which is only reasonable for dlopen(path, RTLD_NOLOAD) to
test existence of the library in the image, and for dlsym().  The
later might still be not quite safe, due to the lazy resolution of
filters.

To allow dropping the locks around iteration in dl_iterate_phdr(3), we
insert markers to track current position between relocks.  The global
objects list is converted to tailq and all iterators skip markers,
globallist_next() and globallist_curr() helpers are added.

Reported and tested by:	davide
Reviewed by:	kan
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
Received on Wed Jan 20 2016 - 18:40:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC