From: Oleg Nesterov Date: Tue, 22 Apr 2014 13:20:07 +0000 (+0200) Subject: uprobes/x86: Don't change the task's state if ->pre_xol() fails X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~14^2~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd91016dfc9ba9236cb0149984da3f0434278b49;p=pandora-kernel.git uprobes/x86: Don't change the task's state if ->pre_xol() fails Currently this doesn't matter, the only ->pre_xol() hook can't fail, but we need to fix arch_uprobe_pre_xol() anyway. If ->pre_xol() fails we should not change regs->ip/flags, we should just return the error to make restart actually possible. Signed-off-by: Oleg Nesterov Reviewed-by: Jim Keniston --- Reading git-diff-tree failed