]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit149e3f3994a4b3922b59824d317d5f891c741d76
tree4bd80efa5b44e470471a78698ac736fab6867644
parenta215289d0b1674d83bd92fc1556297cc21da9292
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