Wittams on Shared Libraries

Jonathan S. Shapiro shap@eros-os.org
Wed, 5 Jul 2000 12:13:20 -0400


This message bounced because it contained a majordomo command in the first
five lines (majordomo is a pain in the butt this way). I'm forwarding it on
behalf of Robert Wittams, who is the original author:

It is definitely appropriate to eros-arch

> [I am not sure if this should be on eros-arch or cap-talk]
>
> 1. How do shared libraries work?
> I presume they are a persistant address space that gets
> inserted into a domains address space, with a read only key.
> Then all unresolved symbols get resolved to the relevant address.
> What I am wondering is how does the key to that library address space
> get found.
>
> I see two ways - there may be others...
> a) the keys to the libraries get placed into the program when it
> is "installed" in the system - either upon compilation, or from some
> kind of package
> b) whenever a new copy of the program is made by the factory,
> it looks up the necessary keys from a namespace
>
>
> 2. What is the planned scheme (if any) for distributed capabilities?
> Is there a document describing how this could work anywhere?
>
>
> Rob
>