CONFIG_DEBUG_ALIGN_RODATA is not available for thedefaultarchitecture x86.
Result is shown for architecture arm
Make rodata strictly non-executable
configname: CONFIG_DEBUG_ALIGN_RODATA
Linux Kernel Configuration
└─>Make rodata strictly non-executable
In linux kernel since version 4 (release Date: 2015-04-12)
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.
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.