diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-13 16:14:10 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 19:16:50 +0400 |
commit | 1ffa11abfe90320abe82bf5bb7eeca154e333058 (patch) | |
tree | 4bd80efa5b44e470471a78698ac736fab6867644 /arch/s390/kernel/dis.c | |
parent | a882b3b0676fa42ab29c492e56749ab00ca95c0d (diff) | |
download | linux-1ffa11abfe90320abe82bf5bb7eeca154e333058.tar.xz |
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>
Diffstat (limited to 'arch/s390/kernel/dis.c')
-rw-r--r-- | arch/s390/kernel/dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c index ce554f3ec445..993efe6a887c 100644 --- a/arch/s390/kernel/dis.c +++ b/arch/s390/kernel/dis.c @@ -1586,7 +1586,7 @@ static unsigned int extract_operand(unsigned char *code, return val; } -static struct s390_insn *find_insn(unsigned char *code) +struct s390_insn *find_insn(unsigned char *code) { unsigned char opfrag = code[1]; unsigned char opmask; |