Re: [GIT PULL] uprobes: fix fork() with the pending ret-probe(s)

From: Ingo Molnar
Date: Sat Oct 19 2013 - 09:19:04 EST



* Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> 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(-)

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

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/