diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 15:18:41 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 15:18:41 -0500 |
commit | 162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (patch) | |
tree | d7f1b61fbe822e71867bd04ee4ee7f3f1cd20842 /arch/s390/kernel/early.c | |
parent | ab14de6c37fae22911ba99f4171613e6d758050b (diff) |
[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 'arch/s390/kernel/early.c')
-rw-r--r-- | arch/s390/kernel/early.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index 40dd47970a33..e518dd53eff5 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #define DEFSYS_CMD_SIZE 96 | 27 | #define DEFSYS_CMD_SIZE 96 |
28 | #define SAVESYS_CMD_SIZE 32 | 28 | #define SAVESYS_CMD_SIZE 32 |
29 | 29 | ||
30 | extern int _eshared; | ||
31 | char kernel_nss_name[NSS_NAME_SIZE + 1]; | 30 | char kernel_nss_name[NSS_NAME_SIZE + 1]; |
32 | 31 | ||
33 | #ifdef CONFIG_SHARED_KERNEL | 32 | #ifdef CONFIG_SHARED_KERNEL |