Skip to content

Commit

Permalink
docs: update self-protection __ro_after_init status
Browse files Browse the repository at this point in the history
__ro_after_init is no longer new and under development. Update the
document to reflect the correct status.

Signed-off-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
shuahkh authored and Jonathan Corbet committed Dec 10, 2021
1 parent 4fd34f8 commit b080e52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Documentation/security/self-protection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b080e52

Please sign in to comment.