Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - D index

CONFIG_DEBUG_RODATA: Write protect kernel read-only data structures

General informations

The Linux kernel configuration item CONFIG_DEBUG_RODATA has multiple definitions:

Make kernel text and rodata read-only found in arch/arm/mm/Kconfig

The configuration item CONFIG_DEBUG_RODATA:

Help text

If this is set, kernel text and rodata will be made read-only. This is to help catch accidental or malicious attempts to change the kernel's executable code. Additionally splits rodata from kernel text so it can be made explicitly non-executable. This creates another section-size padded region, so it can waste more memory space while gaining the read-only protections.

Write protect kernel read-only data structures found in arch/i386/Kconfig.debug

The configuration item CONFIG_DEBUG_RODATA:

Help text

Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a 2MB TLB anymore. If in doubt, say "N".

Write protect kernel read-only data structures found in arch/parisc/Kconfig.debug

The configuration item CONFIG_DEBUG_RODATA:

Help text

Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a TLB anymore. If in doubt, say "N".

Write protect kernel read-only data structures found in arch/x86/Kconfig.debug

The configuration item CONFIG_DEBUG_RODATA:

Help text

Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This is recommended so that we can catch kernel bugs sooner. If in doubt, say "Y".

Write protect kernel read-only data structures found in arch/x86_64/Kconfig.debug

The configuration item CONFIG_DEBUG_RODATA:

Help text

Mark the kernel read-only data as write-protected in the pagetables, in order to catch accidental (and incorrect) writes to such const data. This option may have a slight performance impact because a portion of the kernel code won't be covered by a 2MB TLB anymore. If in doubt, say "N".

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - D index

Automatically generated (in year 2014) with gen-web-lkddb.py in lkddb-sources.