[CRIU] [PATCHv2 0/2] add init_opts()

Ruslan Kuprieiev kupruser at gmail.com
Tue Oct 29 15:48:37 PDT 2013


When running cr_service, every new forked child uses opts of parent, which causes
problems, for example, with pidfile, when service is started with --pidfile and
then we are asking it to restore some program.
So lets introduce init_opts() and call it at the beginning of every child work.

Ruslan Kuprieiev (2):
  add init_opts() to crtools
  reinit opts in service

 cr-service.c      |  2 ++
 crtools.c         | 15 +++++++++++----
 include/crtools.h |  2 ++
 3 files changed, 15 insertions(+), 4 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list