[CRIU] [PATCH 0/5]v2 work dir

Ruslan Kuprieiev kupruser at gmail.com
Fri Nov 15 11:04:25 PST 2013


This set of patches will allow us to specifie work directory where
pidfiles/logs/stats are placed. We will also save one service fd.

Ruslan Kuprieiev (5):
  crtools: add --work-dir(-W) option
  image: add dir parameter to open_image_dir()
  log: get rid of LOG_DIR_FD_OFF and opening cwd in log_init()
  crtools: chdir to work directory
  page-server/service: do not chdir / when going daemon

 cr-restore.c        |  1 -
 cr-service.c        |  6 ++----
 crtools.c           | 38 ++++++++++++++++++++++++++------------
 image.c             |  6 +++---
 include/image.h     |  2 +-
 include/servicefd.h |  1 -
 log.c               | 26 ++------------------------
 page-xfer.c         |  2 +-
 8 files changed, 35 insertions(+), 47 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list