]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8022f86a546ffde8be194f8c63c81f4b17191b10
tree64db3b5a2300ec45c04664b69b26079c0d5b68d8
parente39206947ffd3d4ba6b6d7c05ab6c40d2e515ce2
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