[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-criu
Subject: [CRIU] [PATCHv2 0/2] add init_opts()
From: kupruser () gmail ! com (Ruslan Kuprieiev)
Date: 2013-10-29 22:48:37
Message-ID: 1383086919-4522-1-git-send-email-kupruser () gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic