Messages in this thread | | | Date | Mon, 01 Jul 2013 06:58:46 -0700 | From | Arjan van de Ven <> | Subject | Re: [PATCH] x86, kernel: make dump_pagetables a tristate |
| |
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
| |