DragonFly BSD
DragonFly kernel List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Dynamic linking

From: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
Date: Mon, 1 Dec 2003 00:00:45 +0100

Lately Michel Talon told:

> Those who follow freebsd-current know that there has been an epic
> thread about the slowness of dynamic linking in FreeBSD, in which John
> Dyson and Matt Dillon sent some posts. I have been told by an OpenBSD
> developer that they have introduced a cache of the position of the
> dynamic libraries, and that this modification alone was sufficient to
> improve considerably the startup time of KDE.

I've already considered this when doing prelinking. Like an in-memory
prelink. I don't know about this cache specifically, but non-root
generated caches have a security problem. The system needs to guarrantee
uncompromized cache data when a) first caching data and b) retrieving
data from the cache.
This means the cache data and access either needs to be managed somehow
by a) root or b) kernel. IMO with a secure authenticated messaging
system as DragonFly will be using, this will be much less of a problem
than with FreeBSD.

Also, I'd like to work on this area if/when we agree to implement such a


/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

Attachment: pgp00000.pgp
Description: PGP signature

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]