summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorRusty Russell2008-05-09 08:23:17 +0200
committerLinus Torvalds2008-05-09 16:45:18 +0200
commit6c2545eefffc452e52302c96c955d9aa26353aa9 (patch)
treee182a3b98b0d659787780b1c6ae7a22d264b5c5e /kernel/module.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadkernel-qcow2-linux-6c2545eefffc452e52302c96c955d9aa26353aa9.tar.gz
kernel-qcow2-linux-6c2545eefffc452e52302c96c955d9aa26353aa9.tar.xz
kernel-qcow2-linux-6c2545eefffc452e52302c96c955d9aa26353aa9.zip
module: put modversions in vermagic
Don't allow a module built without versions altogether to be inserted into a kernel which expects modversions. modprobe --force will strip vermagic as well as modversions, so it won't be effected, but this will make sure that a non-CONFIG_MODVERSIONS module won't be accidentally inserted into a CONFIG_MODVERSIONS kernel. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions