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 <firstname.lastname@example.org>
Acked-by: Srikar Dronamraju <email@example.com>
Acked-by: Borislav Petkov <firstname.lastname@example.org>
Signed-off-by: Andy Lutomirski <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
2 files changed