Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   mbalmer
Date:           Sat Aug  6 08:11:10 UTC 2011

Modified Files:
        src/sbin/modload: modload.8
        src/sys/kern: kern_module_vfs.c subr_kobj_vfs.c

Log Message:
Do not not look for modules in the current working directory first.  This is
to prevent from accidentally loading ./module.kmod when we actually wanted to
load module from the system module area.

To load a module from a filesystem path, the module name must contain at
least on path separator character (/), to load a module from the system
module areas, the name must not contain a path separator character:

modload ./mymod.kmod      # loads mymod.kmod from the curren directory
modload mymod             # loads mymod.kmod from the system module area

To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sbin/modload/modload.8
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/kern_module_vfs.c
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/subr_kobj_vfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index