Cc: Jan Engelhardt <jengelh@...>, Mathieu Desnoyers <mathieu.desnoyers@...>, Andrew Morton <akpm@...>, <Valdis.Kletnieks@...>, Frank Ch. Eigler <fche@...>, Linux Kernel Mailing List <linux-kernel@...>, Christoph Hellwig <hch@...>, Linus Torvalds <torvalds@...>
On Saturday 26 January 2008 02:31:30 Jon Masters wrote:
I think there are two things here:
1) Currently we allow modules with no kallsyms info to be loaded into a
KALLSYMS kernel (and taint). A new option is needed to control this:
CONFIG_ACCEPT_NO_KALLSYMS under KERNEL_DEBUG which allows loading of
such "stripped" modules (a-la modprobe --force).
2) Unconditionally reject modules with a wrong module section size. Currently
we have no such check, which means without KALLSYMS, anything goes.
Thoughts?
Rusty.
--