summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-01-24 09:47:14 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-01-24 09:47:14 -0600
commitc8b4778d746d79d81200cb6fea1bd4c8a9ab14a7 (patch)
tree0eb23868911162278dd0a7518be1fa1358501f92 /include/linux/root_dev.h
parent09369f635011eb6d520925f375f364f4273163e1 (diff)
kbuild/modules: Check __vermagic for validity
modprobe --force allows to load modules without a matching version magic string. This invalidation is done by clearing the SHF_ALLOC flag, so check it in the kernel. Also, clear the SHF_ALLOC flag unconditionally, since we don't need to store the __vermagic section in the kernel, it's only checked once at load time.
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions