1
0
Fork 0
alistair23-linux/init
Linus Torvalds 826e4506a0 Make forced module loading optional
The kernel module loader used to be much too happy to allow loading of
modules for the wrong kernel version by default.  For example, if you
had MODVERSIONS enabled, but tried to load a module with no version
info, it would happily load it and taint the kernel - whether it was
likely to actually work or not!

Generally, such forced module loading should be considered a really
really bad idea, so make it conditional on a new config option
(MODULE_FORCE_LOAD), and make it default to off.

If somebody really wants to force module loads, that's their problem,
but we should not encourage it.  Especially as it happened to me by
mistake (ie regular unversioned Fedora modules getting loaded) causing
lots of strange behavior.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-04 17:04:16 -07:00
..
Kconfig Make forced module loading optional 2008-05-04 17:04:16 -07:00
Makefile kbuild: fix make V=1 2008-02-11 17:43:54 +01:00
calibrate.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
do_mounts.c Use struct path in fs_struct 2008-02-14 21:13:33 -08:00
do_mounts.h Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
do_mounts_initrd.c Freezer: Fix s2disk resume from initrd 2007-11-20 22:22:42 -05:00
do_mounts_md.c init: fix integer as NULL pointer warnings 2008-04-28 17:29:18 -07:00
do_mounts_rd.c init: fix integer as NULL pointer warnings 2008-04-28 17:29:18 -07:00
initramfs.c directly use kmalloc() and kfree() in init/initramfs.c 2008-04-29 08:06:06 -07:00
main.c infrastructure to debug (dynamic) objects 2008-04-30 08:29:53 -07:00
noinitramfs.c [PATCH] disable init/initramfs.c 2007-02-11 10:51:25 -08:00
version.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00