criu/plugins
Radostin Stoyanov 199f71f620
plugin/amdgpu: set errno in open_img_file() on read/write failure
open_img_file() can return NULL after a read_fp() or write_fp()
failure without setting errno. The openat() and fdopen() paths
set errno, but the read/write path does not, so callers using
-errno get zero or a stale value. Set errno to EIO on this path
so errno is always valid when the function returns NULL.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-07-21 13:40:20 +02:00
..
amdgpu plugin/amdgpu: set errno in open_img_file() on read/write failure 2026-07-21 13:40:20 +02:00
cuda amdgpu: use fseeko with large-file support instead of fseeko64 2026-07-21 13:40:17 +02:00