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

CONFIG_DEBUG_ALIGN_RODATA: Align linker sections up to SECTION_SIZE

General informations

The Linux kernel configuration item CONFIG_DEBUG_ALIGN_RODATA has multiple definitions:

Align linker sections up to SECTION_SIZE found in arch/arm64/Kconfig.debug

The configuration item CONFIG_DEBUG_ALIGN_RODATA:

Help text

If this option is enabled, sections that may potentially be marked as read only or non-executable will be aligned up to the section size of the kernel. This prevents sections from being split into pages and avoids a potential TLB penalty. The downside is an increase in alignment and potentially wasted space. Turn on this option if performance is more important than memory pressure.

If in doubt, say N.

Make rodata strictly non-executable found in arch/arm/mm/Kconfig

The configuration item CONFIG_DEBUG_ALIGN_RODATA:

Help text

If this is set, rodata will be made explicitly non-executable. This provides protection on the rare chance that attackers might find and use ROP gadgets that exist in the rodata section. This adds an additional section-aligned split of rodata from kernel text so it can be made explicitly non-executable. This padding may waste memory space to gain the additional protection.

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 2016) with gen-web-lkddb.py in lkddb-sources.