Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Fri, Mar 05, 2010 at 06:35:02PM +0000, Antti Kantee wrote:
> Module Name:  src
> Committed By: pooka
> Date:         Fri Mar  5 18:35:02 UTC 2010
> 
> Modified Files:
>       src/sys/kern: kern_module.c sys_module.c
>       src/sys/sys: module.h
> 
> Log Message:
> Move builtin modules to a list in init and load them from there
> instead of using linksets directly.  This has two implications:
> 
> 1) It is now possible to "unload" a builtin module provided it is
>    not busy.  This is useful e.g. to disable a kernel feature as
>    an immediate workaround to a security problem.  To re-initialize
>    the module, modload -f <name> is required.

Antti,

On my console and in /var/log/messages, I find

  WARNING: module error: use -f to reinstate builtin module "compat"

For example, whenever I type my login:

  login: dyoung
  WARNING: module error: use -f to reinstate builtin module "compat"
  Password:

I noticed that modstat tells me that REFS == -1 on some modules:

NAME             CLASS      SOURCE     REFS  SIZE     REQUIRES
compat           misc       builtin    -1    -        -

Does it have something to do with your change?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index