From owner-freebsd-hackers Fri Mar 21 8:25:42 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDB8737B401; Fri, 21 Mar 2003 08:25:40 -0800 (PST) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4B5343FB1; Fri, 21 Mar 2003 08:25:39 -0800 (PST) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (pbb8gaxnsgkwy55b@dsl-133-253.aei.ca [66.36.133.253]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h2LGP3t17739; Fri, 21 Mar 2003 11:25:04 -0500 (EST) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 972BC23E; Fri, 21 Mar 2003 11:25:02 -0500 (EST) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Fri, 21 Mar 2003 11:25:01 -0500 Date: Fri, 21 Mar 2003 11:25:01 -0500 From: The Anarcat To: Yar Tikhiy Cc: "Nikolay Y. Orlyuk" , hackers@freebsd.org Subject: Re: Build options for kernel modules Message-ID: <20030321162501.GC1174@lenny.anarcat.ath.cx> References: <20030321153217.GA53518@comp.chem.msu.su> <20030321153907.GQ76182@asu.ntu-kpi.kiev.ua> <20030321161658.GA56375@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KN5l+BnMqAQyZLvT" Content-Disposition: inline In-Reply-To: <20030321161658.GA56375@comp.chem.msu.su> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --KN5l+BnMqAQyZLvT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri Mar 21, 2003 at 07:16:58PM +0300, Yar Tikhiy wrote: > On Fri, Mar 21, 2003 at 05:39:07PM +0200, Nikolay Y. Orlyuk wrote: > > On Fri, Mar 21, 2003 at 06:32:17PM +0300, Yar Tikhiy wrote: > > > Hi there, > > >=20 > > > Excuse my stupid question, but I seem to have no time to do the > > > investigation by myself right now so I'd be glad to receive a brief > > > answer from someone who has the information. > > >=20 > > > As far as I can see, kernel modules should be built along with the > > > kernel for the only reason of keeping their mutual interfaces in > > > sync, has a source file defining such an interface changed. Is > > > there currently no way to go further and affect a kernel module's > > > built-in features with kernel config file options, besides modifying > > > makefiles in /sys/modules? > > I think this isn't so. I have been already tried to compile some modules > > without compiling kernel and this trye has successful result, but witho= ut > > change options. > > I think modules must be build with same or less imports and same or mor= e export to be correct > > for loading. >=20 > Yeah, it's all right to compile modules w/o the kernel, but that's > not exactly what I was asking about. My question was whether "option > FOO" lines from a kernel configuration file could influence modules. I'm pretty sure they do. A great example is IPFIREWALL_* options: if they don't influence the module, I think we have a problem. ;) A. --=20 Advertisers, not governments, are the primary censors of media content=20 in the United States today. - C. Edwin Baker http://www.ad-mad.co.uk/quotes/freespeech.htm --KN5l+BnMqAQyZLvT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ezzdttcWHAnWiGcRAiSwAJ9VguTVLfAKTdLApBeNqYk2j2T6WACfbEeb 32scoLHMccJwCTkYViC2OMQ= =GbHo -----END PGP SIGNATURE----- --KN5l+BnMqAQyZLvT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message