Date: Mon, 17 Nov 2008 20:35:41 +0500 From: "Aleksandr Litvinov" <free.dvig@gmail.com> To: "Alexej Sokolov" <bsd.quest@googlemail.com>, "FreeBSD Hackers" <freebsd-hackers@freebsd.org> Subject: =?koi8-r?b?79TXxdQ6IEtMRCBsb2FkaW5nLCBsaWtpbmc=?= Message-ID: <65f70ae30811170735i60891633ja0791f3d73cee188@mail.gmail.com> In-Reply-To: <20081117113522.GA2732@debian.samsung.router> References: <671bb5fc0811151927j6dcb5155oeffbf4cc95cbccb6@mail.gmail.com> <20081116100923.GU81783@hoeg.nl> <20081117113522.GA2732@debian.samsung.router>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/11/17, Alexej Sokolov <bsd.quest@googlemail.com>: > On Sun, Nov 16, 2008 at 11:09:00AM +0100, Ed Schouten wrote: >> * Alexej Sokolov <bsd.quest@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@80386.nl> >> WWW: http://80386.nl/ > > > > -- > Alexej Sokolov <bsd.quest@googlemail.com> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > Hello, You can receive a little information about KLD from the book "designing BSD rootkits". -- -- Good Luck. -- Litvinov Aleksandr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65f70ae30811170735i60891633ja0791f3d73cee188>