Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 9 Dec 2012 14:24:44 -0500
From: Rich Felker <>
Subject: Re: static linking and dlopen

On Sun, Dec 09, 2012 at 08:07:53PM +0100, Szabolcs Nagy wrote:
> * Rich Felker <> [2012-12-09 12:54:52 -0500]:
> > just links everything together the right way. It's not clear to me
> > whether this would be easy to change; it's possible that, due to
> > always using dynamic linking internally, a number of dependencies on
> > dynamic-linking-related behavior (symbol interposition, accessing
> > things via dlsym, etc.) crept into the code, and would be painful to
> > exorcise (especially under the constraint of not breaking their
> > dynamic builds).
> i guess it's hard to fix (legacy from netscape 2.0)
> this plugin system is a core part of dom
> and uses the nspr (netscape portable runtime)
> to do the dlopen/dlclose/dlsym

Yes, but being that it's abstracted by nspr, it could be replaced with
a system to use internal 'plugins'. Anyway I was less concerned with
features that are based on dynamic loading (plugins) and more
interested in the problem that the whole core browser is made up of
tons of shared libraries that are always-loaded (whether by dlopen or
at startup-time, I'm not sure..)


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.