On 04/09/2013 08:06 AM, Sedat Dilek wrote: > config DEBUG_RODATA > bool "Write protect kernel read-only data structures" > - default y > depends on DEBUG_KERNEL > + default n if KGDB > + default y > ---help--- > Mark the kernel read-only data as write-protected in the pagetables, > in order to catch accidental (and incorrect) writes to such const
This is wrong and should not be merged. A) You should not change these defaults in this manner B) You have pointed out that the documentation is currently incorrect. The CONFIG_DEBUG_RODATA constraints were removed some time ago, per commit 3751d3e85cf693e10e2c47c03c8caa65e171099b (x86,kgdb: Fix DEBUG_RODATA limitation using text_poke()) Jason. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport