uprobes: fix fork() with the pending ret-probe(s)
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(-)
Quoted 17 lines · Oleg Nesterov
Ingo, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/oleg/miscuprobes/coreThis 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 ofuprobe_copy_process()
uprobes: Introduce__create_xol_area()
uprobes: Teach__create_xol_area()to accept the predefined vaddr
uprobes: Changeuprobe_copy_process()to dupreturn_instances
uprobes: Changeuprobe_copy_process()to dupxol_area
uprobes: Teachuprobe_copy_process()to handleCLONE_VFORK
Quoted 7 lines
Ralf Baechle (1):
uprobes: Remove the wrong__weakattributeinclude/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