Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2000 02:28:45 +0200
From:      Jens Sauer <pirol9999@gmx.net>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: How to disable Kernel-Modules-Support?
Message-ID:  <20000713002704.D95E437C064@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Back again,

so, both options "NO_LKM" and "NO_KLD" are not known in
kernel-configuration. Also the manpages for KLD and
KLDLOAD don't say anything about it.
Anybody got an idea how to disable it?

Jens

> Thanks for your help. I will try your suggestion
> "option NO_KLD", let's see....
> I knew about the ability to unload modules,but I wanted to disable
> this function for security reasons.

> Will report back soon
> Jens


>> I'm not familiar with the 4.0 release and can't offer much help if you're
>> positive you've checked the kernel configuration file and LINT and have
>> come up empty.  You might try "option NO_KLD" instead of "LKM".  A safer
>> approach would be to unload the modules with the kdunload command.
>> Here's
>> an example: #kldunload -n vinum  Note that you can unload some of the
>> klds
>> this way but not all of them.  Good luck!

>> Joe



>> 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-newbies" in the body of the message






> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-newbies" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000713002704.D95E437C064>