]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 15 Oct 2013 12:45:27 +0000 (14:45 +0200)
commitcaa7d737edbacdaa02ce1596f26425164e38be0b
treeaee8ffaa15f22a71185c4a1ba130f4db5ef21a04
parenta7b11469643180553d14fca35ace6fa454c42b88
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