[PATCH] s390: put sys_call_table into .rodata section and write protect it
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 1 Jul 2006 11:36:31 +0000 (04:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 1 Jul 2006 16:56:04 +0000 (09:56 -0700)
commitd882b172512758703ff8d9efb96505eaaee48d2e
tree64b61d69b4af1395b80446fbc61f0488fbaeedb3
parenta581c2a4697ee264699b364399b73477af408e00
[PATCH] s390: put sys_call_table into .rodata section and write protect it

Put s390's syscall tables into .rodata section and write protect this
section to prevent misuse of it.  Suggested by Arjan van de Ven
<arjan@infradead.org>.

Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S
arch/s390/mm/init.c