Closed mclapinski closed 11 months ago
https://github.com/checkpoint-restore/criu/commit/9191f8728d6224e3c108063128131c8f219bdd4f ("criu/files-reg.c: add build-id validation functionality") added a feature to verify build-id of ELF files. Unfortunately it also broke the offset migration of such files due to a read after lseek. This PR fixes that.
read
lseek
https://github.com/checkpoint-restore/criu/commit/9191f8728d6224e3c108063128131c8f219bdd4f ("criu/files-reg.c: add build-id validation functionality") added a feature to verify build-id of ELF files. Unfortunately it also broke the offset migration of such files due to a
read
afterlseek
. This PR fixes that.