OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fd34f8
)
docs: update self-protection __ro_after_init status
author
Shuah Khan
<skhan@linuxfoundation.org>
Wed, 8 Dec 2021 16:40:51 +0000
(09:40 -0700)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 10 Dec 2021 21:02:06 +0000
(14:02 -0700)
__ro_after_init is no longer new and under development. Update the
document to reflect the correct status.
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link:
https://lore.kernel.org/r/20211208164051.8783-1-skhan@linuxfoundation.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/security/self-protection.rst
patch
|
blob
|
history
diff --git
a/Documentation/security/self-protection.rst
b/Documentation/security/self-protection.rst
index
f584fb7
..
910668e
100644
(file)
--- 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