summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/uprobes.c
diff options
context:
space:
mode:
authorAnton Arapov <anton@redhat.com>2013-04-03 16:00:32 (GMT)
committerOleg Nesterov <oleg@redhat.com>2013-04-13 13:31:54 (GMT)
commite78aebfd27256ca59ccd3e6cf62cfad2a80e02d3 (patch)
tree6655e753d20bf964fbdcb6eefb3087dd954e2a1f /arch/x86/kernel/uprobes.c
parentea024870cf10687b3fded66a9deb6253888f30b7 (diff)
downloadlinux-e78aebfd27256ca59ccd3e6cf62cfad2a80e02d3.tar.xz
uretprobes: Reserve the first slot in xol_vma for trampoline
Allocate trampoline page, as the very first one in uprobed task xol area, and fill it with breakpoint opcode. Also introduce get_trampoline_vaddr() helper, to wrap the trampoline address extraction from area->vaddr. That removes confusion and eases the debug experience in case ->vaddr notion will be changed. Signed-off-by: Anton Arapov <anton@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'arch/x86/kernel/uprobes.c')
0 files changed, 0 insertions, 0 deletions