commit | 70d7f98722a7a1df1a55d6a92d0ce959c7aba9fd | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Fri Nov 08 16:35:55 2013 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Sat Nov 09 17:05:41 2013 +0100 |
tree | 3e17749985872ef3187a2f5d3bb17cf7a8dd84a2 | |
parent | f72d41fa902fb19a9b63028202a400b0ce497491 [diff] |
uprobes: Fix the wrong usage of current->utask in uprobe_copy_process() Commit aa59c53fd459 "uprobes: Change uprobe_copy_process() to dup xol_area" has a stupid typo, we need to setup t->utask->vaddr but the code wrongly uses current->utask. Even with this bug dup_xol_work() works "in practice", but only because get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE) likely returns the same address every time. Signed-off-by: Oleg Nesterov <oleg@redhat.com>