On 27 June 2013 20:16:26 Rich Felker <[email protected]> wrote:
On Thu, Jun 27, 2013 at 09:34:32AM +0300, Timo Teräs wrote:
> It can happen under certain cases that the DSO had refcount 0,
> but was already loaded. (NODELETE flag is set, or it is pulled
> in via both NEEDED dependency and explicit dlopen()).
Wouldn't it be more logical to prevent this from happening by not
using a refcount of zero? For example, NODELETE could just perform an
extra increment on the refcnt so that it never reaches 0. In essence,
the NODELETE flag is a permanent reference to the DSO.
I was thinking the same, without having looked yet. This does not sound
like the correct fix.
Sent with AquaMail for Android
http://www.aqua-mail.com
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc