checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.91k stars 583 forks source link

Fix migration of fds to ELF files #2283

Closed mclapinski closed 11 months ago

mclapinski commented 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.