[CRIU] [PATCH cr 4/4] log: don't create a log file in a current directory

Andrey Vagin avagin at openvz.org
Fri Aug 31 08:30:22 EDT 2012


We can set a directory for log and image files.
crtools sets it as a current directory and then creates all files in it.
It works before we don't decide to change a mount name space.

I suggest to open a log dir and create files for help openat.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c      |    2 ++
 include/crtools.h |    1 +
 include/log.h     |    1 +
 log.c             |   31 +++++++++++++++++++++++++++++--
 4 files changed, 33 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-log-don-t-create-a-log-file-in-a-current-directory.patch
Type: text/x-patch
Size: 2212 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120831/4f6ae483/0004-log-don-t-create-a-log-file-in-a-current-directory.bin


More information about the CRIU mailing list