powerpc/kprobes: Don't allow breakpoints on suffixes
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:47 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:11:03 +0000 (00:11 +1000)
commitb4657f7650babc9bfb41ce875abe41b18604a105
tree64db3b5a2300ec45c04664b69b26079c0d5b68d8
parentc9c831aebd8663d0129bbcee4d76be889f0627fe
powerpc/kprobes: Don't allow breakpoints on suffixes

Do not allow inserting breakpoints on the suffix of a prefix instruction
in kprobes.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200506034050.24806-28-jniethe5@gmail.com
arch/powerpc/kernel/kprobes.c