From: Oleg Nesterov Date: Fri, 8 Nov 2013 15:35:55 +0000 (+0100) Subject: uprobes: Fix the wrong usage of current->utask in uprobe_copy_process() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d7f98722a7a1df1a55d6a92d0ce959c7aba9fd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed