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:

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".

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 memory will be made read-only, and non-text kernel memory will be made non-executable. The tradeoff is that each region is padded to section-size (1MiB) boundaries (because their permissions are different and splitting the 1M pages into 4K ones causes TLB performance problems), which can waste memory.

found in arch/x86/Kconfig

The configuration item CONFIG_DEBUG_RODATA:

Help text

(none)

found in arch/s390/Kconfig

The configuration item CONFIG_DEBUG_RODATA:

Help text

(none)

found in arch/arm64/Kconfig

The configuration item CONFIG_DEBUG_RODATA:

Help text

(none)

Make kernel text and rodata read-only found in arch/arm64/Kconfig.debug

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.

If in doubt, say Y.

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".

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".

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 2024). See also LKDDb sources on GitLab