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 8
System Settings
Kernel Configuration
Make the module text and rodata read-only
Make the module text and rodata read-only
An XCCDF Rule
Details
Profiles
Prose
Make the module text and rodata read-only
Medium Severity
When set, module 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_MODULE_RWX
, run the following command:
grep CONFIG_STRICT_MODULE_RWX /boot/config-*
For each kernel installed, a line with value "y" should be returned.