From owner-freebsd-questions Wed Jul 12 17:21:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 1322837BB2F for ; Wed, 12 Jul 2000 17:21:27 -0700 (PDT) (envelope-from pirol9999@gmx.net) Received: (qmail 27845 invoked by uid 0); 13 Jul 2000 00:21:25 -0000 Received: from p3e9ef9a4.dip0.t-ipconnect.de (HELO gmx.net) (62.158.249.164) by mail.gmx.net with SMTP; 13 Jul 2000 00:21:25 -0000 Date: Thu, 13 Jul 2000 02:23:07 +0200 From: Jens Sauer Reply-To: Jens Sauer To: freebsd-questions@FreeBSD.ORG Subject: Re: How to disable Kernel-Modules-Support? X-Mailer: Jens Sauer's registered AK-Mail 3.1 publicbeta2a [ger] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000713002127.1322837BB2F@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK, I found that there are no options "NO_LVM" or "NO_KLD" to disable the On-Demand-Loading of Kernel-Modules. Also the man-Pages of KLD and KLDLOAD don't say anything about that. Could please anybody tell me, if it's a security problem, to have this enabled (as one document stated in an maybe older Security-Advice at www.freebsd.org)? Thank you Jens > Hi, > anyone can tell, how I can disable the support for Loadable Kernel > Modules when compiling a new kernel. I tried kernel-option > "option NO_LKM", but kldstat shows 3 loaded modules anyway. > And I reviewed LINT many times, but still haven't found anything. > I'm using FreeBSD Stable of 07/2000, and think in my official > Walnut Creek Distribution 4.0 it was disabled by default. > Thanks in advance > Jens > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message