Changes

Jump to navigation Jump to search
712 bytes added ,  07:11, 9 February 2021
Created page with "Category:GSoC === Restrict checks for open/mmaped files === '''Summary:''' Make sure the file opened (for fd or mapping) at restore is "the same" as it was on dump '''..."
[[Category:GSoC]]

=== Restrict checks for open/mmaped files ===

'''Summary:''' Make sure the file opened (for fd or mapping) at restore is "the same" as it was on dump

'''Merged PR:''' https://github.com/checkpoint-restore/criu/pull/1123

CRIU doesn't carry files contents (except for ghost ones) into images. Thus on dump it saves some "meta" for file to validate it's "the same" on restore. Currently this meta includes only the file size. The task is to add some cookie value that's somehow affected by file's contents. This is primarily needed to reduce the possibility to restore with wrong libraries.

'''Links:'''
* https://www.criu.org/Category:Files
* https://en.wikipedia.org/wiki/File_verification
62

edits

Navigation menu