]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdc0e6c837be6b8699cfa876d8f11016c066a5a6a
tree64b61d69b4af1395b80446fbc61f0488fbaeedb3
parentb4cf07d7e7f7c931e5ce076c12679f3d9fc4c565
[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