From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 17 16:02:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39E251065672 for ; Mon, 17 Nov 2008 16:02:04 +0000 (UTC) (envelope-from free.dvig@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id DCD478FC21 for ; Mon, 17 Nov 2008 16:02:03 +0000 (UTC) (envelope-from free.dvig@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so1039005ana.13 for ; Mon, 17 Nov 2008 08:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3yDyPS44H7NvJiXgAfwfLLTavwqXj4kwAvjYa+Sg/kY=; b=tZbyXFDGP9UBdQH62vzNnGklRNJI+vzjocxNy0bu/KGCWp4+2kVhx4RbE//NoE1OO/ IwdzJHteTBugoZ7IBnowfYmTyeF2lLEzahk+mKQYCVxM5yvMpXf8GB5bVgkfWAKH/UUO GPYHNltR1hQsZEVs/bCHRubaT0BDAC70o2Zos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TN6CdlIvbuZeR6zgE/G4YHxbJyZirxuqxONY1w6KqyQSNFQHwfn9wU2CpQozlAh+xV Bq6+h8bycb8KT+EkA5lCDZThVDBMnxbWSwwuY/iGFZgDDomraTo6Xx3bByG9zLxGm99R WDuGyoV+v4trng86haFHu0LV+Slyp4Wy2O80c= Received: by 10.142.162.5 with SMTP id k5mr2029222wfe.287.1226936141694; Mon, 17 Nov 2008 07:35:41 -0800 (PST) Received: by 10.143.141.2 with HTTP; Mon, 17 Nov 2008 07:35:41 -0800 (PST) Message-ID: <65f70ae30811170735i60891633ja0791f3d73cee188@mail.gmail.com> Date: Mon, 17 Nov 2008 20:35:41 +0500 From: "Aleksandr Litvinov" To: "Alexej Sokolov" , "FreeBSD Hackers" In-Reply-To: <20081117113522.GA2732@debian.samsung.router> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <671bb5fc0811151927j6dcb5155oeffbf4cc95cbccb6@mail.gmail.com> <20081116100923.GU81783@hoeg.nl> <20081117113522.GA2732@debian.samsung.router> Cc: Subject: =?koi8-r?b?79TXxdQ6IEtMRCBsb2FkaW5nLCBsaWtpbmc=?= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2008 16:02:04 -0000 2008/11/17, Alexej Sokolov : > On Sun, Nov 16, 2008 at 11:09:00AM +0100, Ed Schouten wrote: >> * Alexej Sokolov 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 >> WWW: http://80386.nl/ > > > > -- > Alexej Sokolov > _______________________________________________ > 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.