Searched hist:149464 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/
H A DMAINTAINERSdiff 149464 Thu Aug 25 15:14:39 MDT 2005 emax Add myself as a maintainer of Bluetooth code
/freebsd-10.1-release/libexec/rtld-elf/
H A Drtld.cdiff 216489 Thu Dec 16 15:00:24 MST 2010 jh If dlclose() is called recursively from a _fini() function, the inner
dlclose() call may unload the object of the outer call prematurely
because objects are unreferenced before _fini() calls.

Fix this by unreferencing objects after calling objlist_call_fini() in
dlclose(). Therefore objlist_call_fini() now calls the fini function if
the reference count of an object is 1. In addition we must restart the
list_fini traversal after every _fini() call because another dlclose()
call might have modified the reference counts.

Add an XXX comment to objlist_call_fini() about possible race with
dlopen().

PR: 133246, 149464
Reviewed by: kan, kib

Completed in 103 milliseconds