[Devel] [PATCH CRIU 2/2] dump/restore: Maintain proper start_time param from /proc/[pid]/stat for each task
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Mon Jan 13 18:38:31 MSK 2020
> +
> + if (prctl(PR_SET_TASK_CT_FIELDS, (unsigned long)&ct_fields, flags, 0, 0)) {
> + pr_perror("Can't set process start time");
> + return -1;
> + }
If we will update criu while still using older kernel (without prctl)
and suspend some ct it will not resume, as these will fail with EINVAL.
Looks like we still need to detect if prctl is supported via kdat.
More information about the Devel
mailing list