s390/kprobes: allow kprobes only on known instructions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 13 Sep 2013 12:14:10 +0000 (14:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:50 +0000 (17:16 +0200)
commit1ffa11abfe90320abe82bf5bb7eeca154e333058
tree4bd80efa5b44e470471a78698ac736fab6867644
parenta882b3b0676fa42ab29c492e56749ab00ca95c0d
s390/kprobes: allow kprobes only on known instructions

Since we have an in-kernel disassembler we can make sure that
there won't be any kprobes set on random data.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/dis.h
arch/s390/kernel/dis.c
arch/s390/kernel/kprobes.c