From: Shuah Khan Date: Wed, 8 Dec 2021 16:40:51 +0000 (-0700) Subject: docs: update self-protection __ro_after_init status X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b080e52110ea30b1ec6dcc2e9dbac786ac104ddd;p=linux.git docs: update self-protection __ro_after_init status __ro_after_init is no longer new and under development. Update the document to reflect the correct status. Signed-off-by: Shuah Khan Link: https://lore.kernel.org/r/20211208164051.8783-1-skhan@linuxfoundation.org Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/security/self-protection.rst b/Documentation/security/self-protection.rst index f584fb74b4ff2..910668e665cbe 100644 --- a/Documentation/security/self-protection.rst +++ b/Documentation/security/self-protection.rst @@ -81,8 +81,7 @@ of the kernel, gaining the protection of the kernel's strict memory permissions as described above. For variables that are initialized once at ``__init`` time, these can -be marked with the (new and under development) ``__ro_after_init`` -attribute. +be marked with the ``__ro_after_init`` attribute. What remains are variables that are updated rarely (e.g. GDT). These will need another infrastructure (similar to the temporary exceptions