Skip to content

Commit 2779a64

Browse files
Copilotavagin
andcommitted
Disable breakpoints on the restore path
Co-authored-by: avagin <1049830+avagin@users.noreply.github.com>
1 parent fe4745e commit 2779a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

criu/cr-restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,7 @@ static int restore_rseq_cs(void)
18201820
static int catch_tasks(bool root_seized)
18211821
{
18221822
struct pstree_item *item;
1823-
bool nobp = fault_injected(FI_NO_BREAKPOINTS) || !kdat.has_breakpoints;
1823+
bool nobp = true; /* Always disable breakpoints on the restore path */
18241824

18251825
for_each_pstree_item(item) {
18261826
int status, i, ret;

0 commit comments

Comments
 (0)