2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

462 Commits

Author SHA1 Message Date
Cyrill Gorcunov
4727c73984 restore: Simplify try_fixup_file_map
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-28 16:49:59 +04:00
Cyrill Gorcunov
6978194642 restore: Use shmid instead of id, as declared in image file
To not bring in varying member name with same meaning.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-28 15:55:12 +04:00
Cyrill Gorcunov
8800be50f8 restore: Use find_ prefix searching routines
To make a consistent scheme.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-28 14:45:30 +04:00
Cyrill Gorcunov
3971dbb78d restore: File mappings should use process pid as well
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-28 13:19:30 +04:00
Cyrill Gorcunov
2de8de5d4e restore: Rename try_to_add into collect_ routines
As they are. Also add some more debug printing on
pipe users in debug purpose.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-28 01:09:34 +04:00
Cyrill Gorcunov
af1dfdda5e restore: Add comment about closing pipes descriptors
Also a few style nitpicks.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-27 20:23:26 +04:00
Cyrill Gorcunov
5498ed173b restore: Use close_safe for pipes
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-27 18:50:02 +04:00
Cyrill Gorcunov
9212f2e847 restore: Drop unneded perror's
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-27 18:48:57 +04:00
Andrew Vagin
b1739c08f5 restore: fix counter in pipe_entry
The counter should be incremented all times, when new user is found.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
2011-09-27 12:55:05 +04:00
Cyrill Gorcunov
06ae1f8697 restore: Drop a few style rudiments from code
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-27 01:14:38 +04:00
Cyrill Gorcunov
961fcdc697 restore: Cleanup fixup_vma_fds a bit
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-26 18:14:39 +04:00
Cyrill Gorcunov
523de23624 Initial commit
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-23 12:00:45 +04:00