Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Red Hat Enterprise Linux 9
System Settings
Kernel Configuration
Make the kernel text and rodata read-only
Make the kernel text and rodata read-only
An XCCDF Rule
Details
Profiles
Prose
Make the kernel text and rodata read-only
Medium Severity
When set, kernel text and rodata memory will be made read-only, and non-text memory will be made non-executable. This configuration is available from kernel 4.11. The configuration that was used to build kernel is available at
/boot/config-*
. To check the configuration value for
CONFIG_STRICT_KERNEL_RWX
, run the following command:
grep CONFIG_STRICT_KERNEL_RWX /boot/config-*
For each kernel installed, a line with value "y" should be returned.