[CRIU] [PATCH] ptrace: flush breakpoints

Pavel Emelyanov xemul at parallels.com
Mon Sep 22 07:03:36 PDT 2014


On 09/19/2014 11:48 PM, Andrey Vagin wrote:
> Unfortunately the kernel doesn't flush hw breakpoints on
> detaching ptrace. If a breakpoint is triggered without ptrace, it
> will be killed by SIGTRAP.
> 
> Reported-by: Mr Jenkins
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

OK, applied. Compiler should optimize-out the empty loop itself.



More information about the CRIU mailing list