diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 23:18:41 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 23:18:41 +0300 |
commit | 162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (patch) | |
tree | d7f1b61fbe822e71867bd04ee4ee7f3f1cd20842 /include/asm-s390/sections.h | |
parent | ab14de6c37fae22911ba99f4171613e6d758050b (diff) | |
download | linux-162e006ef59266b9ebf34e3d15ca1f3d9ee956d7.tar.xz |
[S390] Mark kernel text section read-only.
Set read-only flag in the page table entries for the kernel image text
section. This will catch all instruction caused corruptions withing the
text section.
Instruction replacement via kprobes still works, since it bypasses now
dynamic address translation.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/sections.h')
-rw-r--r-- | include/asm-s390/sections.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/sections.h b/include/asm-s390/sections.h index 3a0b8ffeab7a..1c5a2c4ccdad 100644 --- a/include/asm-s390/sections.h +++ b/include/asm-s390/sections.h @@ -3,4 +3,6 @@ #include <asm-generic/sections.h> +extern char _eshared[]; + #endif |