Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 22:11:35 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Stanley Jobson <Stanley.Jobson@gmx.ch>
Cc:        current@freebsd.org
Subject:   Re: KLD technical docs
Message-ID:  <20060329061135.GP7001@funkthat.com>
In-Reply-To: <9531.1143531289@www098.gmx.net>
References:  <24143.1143531014@www098.gmx.net> <9531.1143531289@www098.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Stanley Jobson wrote this message on Tue, Mar 28, 2006 at 09:34 +0200:
> for my master thesis i am looking for technical docs about
> dynamic linking esp. about the kernel dynamic linker facility.
> 
> i found some good docs about dynamic linking in general but
> nothing about KLD/LKM.
> 
> are there any technical docs on KLD? I read the short chapter
> in the arch handbook but thats not much info.
> 
> i am interested in docs answering the following questions:
> - how does the dynamic loading and linking work for KLDs/LKMs?
> - does this anything has to do with libbfd, libdl or rtld?
> - how are dependencies handled?
> 
> technical info to LKM and dynamic linking facility of the other
> BSDs would be also interesting :)

The best technical doc is src/sys/kern/kern_linker.c...  :)  That
handles all the magic of SYSINIT's, sysctl's and the other magic of
kernel modules...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060329061135.GP7001>