Skip to contentSkip to conversation

uprobes: fix fork() with the pending ret-probe(s)

GIT PULL Oleg Nesterov 2 participants 2 messages Oct 19, 2013

lore
Share & tools
lore
#0 lore raw

Ingo, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core

This fixes the serious bug, a forked process crashes if it returns from the probed function called by its parent, this cc's stable.

Also the minor fix from Ralf.

Oleg Nesterov (6):
uprobes: Change the callsite of uprobe_copy_process()
uprobes: Introduce __create_xol_area()
uprobes: Teach __create_xol_area() to accept the predefined vaddr
uprobes: Change uprobe_copy_process() to dup return_instances
uprobes: Change uprobe_copy_process() to dup xol_area
uprobes: Teach uprobe_copy_process() to handle CLONE_VFORK

Ralf Baechle (1):
uprobes: Remove the wrong __weak attribute

 include/linux/uprobes.h |    6 +-
 kernel/events/uprobes.c |  156 ++++++++++++++++++++++++++++++++++++-----------
 kernel/fork.c           |    2 +-
 3 files changed, 124 insertions(+), 40 deletions(-)
#1 lore raw
Quoted 17 lines · Oleg Nesterov

Ingo, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core

This fixes the serious bug, a forked process crashes if it returns from the probed function called by its parent, this cc's stable.

Also the minor fix from Ralf.

Oleg Nesterov (6):
uprobes: Change the callsite of uprobe_copy_process()
uprobes: Introduce __create_xol_area()
uprobes: Teach __create_xol_area() to accept the predefined vaddr
uprobes: Change uprobe_copy_process() to dup return_instances
uprobes: Change uprobe_copy_process() to dup xol_area
uprobes: Teach uprobe_copy_process() to handle CLONE_VFORK

Quoted 7 lines

Ralf Baechle (1):
uprobes: Remove the wrong __weak attribute

 include/linux/uprobes.h |    6 +-
 kernel/events/uprobes.c |  156 ++++++++++++++++++++++++++++++++++++-----------
 kernel/fork.c           |    2 +-
 3 files changed, 124 insertions(+), 40 deletions(-)

Pulled into tip:perf/urgent, thanks a lot Oleg!

Ingo