On 6/29/2013 9:05 PM, Kees Cook wrote:
Being able to examine page tables is handy, so make this a module that can be loaded as needed.
I personally don't think this is a good idea due to the various security/etc implications of this feature... should really just be off for non-debug kernels, not "off unless you load the module"
+#ifdef CONFIG_X86_64 +EXPORT_SYMBOL_GPL(init_level4_pgt); +#else +EXPORT_SYMBOL_GPL(swapper_pg_dir); +#endif
like these really have no business in any module -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/