mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
Both CRIU and plugin are built with 64-bit off_t and most of the parallel bo restore path uses uint64_t for storing offsets. Lets consolidate by changing int to off_t, and by doing so remove any possibility that the call to fseeko can overflow the return type. While at it, add error checking to both seek operations. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-By: David Francis <David.Francis@amd.com> # v1 --- v2: - Correct offset type as well. |
||
|---|---|---|
| .. | ||
| amdgpu | ||
| cuda | ||