]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
MIPS: fix uretprobe implementation
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>
Thu, 22 Sep 2016 13:38:31 +0000 (15:38 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 20 Oct 2016 13:07:03 +0000 (08:07 -0500)
commit23fa5f40b9f8931435fc2d7ad0029cda535974f1
tree9680cfd504fa694ac8acbdc469c4262ce7df5602
parent700494a0df6c6e44f6525a3553a1d61b8a8d8975
MIPS: fix uretprobe implementation

BugLink: http://bugs.launchpad.net/bugs/1631468
commit db06068a4fd44a57b642b369d2a295b8448f6b65 upstream.

arch_uretprobe_hijack_return_addr should replace the return address for
a call with a trampoline address.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Fixes: 40e084a506eb ('MIPS: Add uprobes support.')
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14298/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/mips/kernel/uprobes.c