Ответ: KLD loading, liking
Aleksandr Litvinov
free.dvig at gmail.com
Mon Nov 17 08:02:04 PST 2008
2008/11/17, Alexej Sokolov <bsd.quest at googlemail.com>:
> On Sun, Nov 16, 2008 at 11:09:00AM +0100, Ed Schouten wrote:
>> * Alexej Sokolov <bsd.quest at googlemail.com> wrote:
>
>> > What exact does the macro MODULE_DEPEND ? The man page is to short, and
>> > I
>> > guess it tell no all things that the macro does.
>>
>> MODULE_DEPEND is used to say: this kernel module also depends on another
>> module (i.e. the USB printer module depends on the USB code). Tools like
>> kldload can then automatically load the missing modules.
> Not only that. The use of the MODULE_DEPEND macro allows one module to
> access
> the variables of modules on which it depends. But man page of
> MODULE_DEPEND doesn't tell anything about this functionality. Hence I
> am looking for any good documentation of KLD loader. But I didn't find
> anything. May be looking in the source code is the best solution.
>
>>
>> --
>> Ed Schouten <ed at 80386.nl>
>> WWW: http://80386.nl/
>
>
>
> --
> Alexej Sokolov <bsd.quest at googlemail.com>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
Hello,
You can receive a little information about KLD from the book
"designing BSD rootkits".
--
-- Good Luck.
-- Litvinov Aleksandr.
More information about the freebsd-hackers
mailing list