From: Andy Lutomirski Date: Fri, 21 Nov 2014 21:26:07 +0000 (-0800) Subject: uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82975bc6a6df743b9a01810fb32cb65d0ec5d60b;p=pandora-kernel.git uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME x86 call do_notify_resume on paranoid returns if TIF_UPROBE is set but not on non-paranoid returns. I suspect that this is a mistake and that the code only works because int3 is paranoid. Setting _TIF_NOTIFY_RESUME in the uprobe code was probably a workaround for the x86 bug. With that bug fixed, we can remove _TIF_NOTIFY_RESUME from the uprobes code. Reported-by: Oleg Nesterov Acked-by: Srikar Dronamraju Acked-by: Borislav Petkov Signed-off-by: Andy Lutomirski Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed