]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/jprobes: Validate break handler invocation as being due to a jprobe_return()
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 22 Sep 2017 09:10:48 +0000 (14:40 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Oct 2017 05:12:48 +0000 (16:12 +1100)
commit0e7f7acb5d7f1b9a80df4b00fda173958f99ddce
tree2b0100e50a156dc60e70784e85c35a6713e7be95
parent34ba6d2406a478b1f6dbd861bede3fa3537b277e
powerpc/jprobes: Validate break handler invocation as being due to a jprobe_return()

Fix a circa 2005 FIXME by implementing a check to ensure that we
actually got into the jprobe break handler() due to the trap in
jprobe_return().

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c