mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 08:45:49 +00:00
Use absolute path for image files
Now I try to restore CWD and a relative path will be invalid. Add new options -D to set image files directory. Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
a5439d5fed
commit
d261cf7958
@@ -174,8 +174,6 @@ DIR *opendir_proc(char *fmt, ...);
|
||||
FILE *fopen_proc(char *fmt, char *mode, ...);
|
||||
int open_fmt(char *fmt, int mode, ...);
|
||||
|
||||
#define open_fmt_ro(fmt, ...) open_fmt(fmt, O_RDONLY, __VA_ARGS__)
|
||||
|
||||
#define __xalloc(op, size, ...) \
|
||||
({ \
|
||||
void *___p = op( __VA_ARGS__ ); \
|
||||
|
Reference in New Issue
Block a user