]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Handle kprobes breakpoints only in kernel context
authorHelge Deller <deller@gmx.de>
Wed, 24 May 2023 12:31:14 +0000 (14:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 13:03:18 +0000 (14:03 +0100)
commitd050d3c11b24a4668a4430a7b616917410f8d932
tree42dbdb20688b6b8fa9fae4bb7227a5b2ee29d64f
parent5560a195ffb5e70320a6b9bd8eac08ace9d70dd5
parisc: Handle kprobes breakpoints only in kernel context

commit df419492e428b6a2bce98d0f613c58a13da6666c upstream.

The kernel kprobes break instructions should only be handled when running
in kernel context.

Cc: <stable@vger.kernel.org> # v5.18+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/traps.c