Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - D index
The Linux kernel configuration item CONFIG_DEBUG_ALIGN_RODATA
has multiple definitions:
arch/arm/mm/Kconfig
The configuration item CONFIG_DEBUG_ALIGN_RODATA:
CONFIG_STRICT_KERNEL_RWX
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.
arch/arm64/Kconfig.debug
The configuration item CONFIG_DEBUG_ALIGN_RODATA:
CONFIG_STRICT_KERNEL_RWX
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.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - D index
Automatically generated (in year 2024). See also LKDDb sources on GitLab