[CRIU] [PATCH] restore: Temporary comment out exit's on sid/pgid
mismatch
Cyrill Gorcunov
gorcunov at openvz.org
Fri Apr 13 10:51:59 EDT 2012
Util we have kernel support.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-restore.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cr-restore.c b/cr-restore.c
index d3ca7e8..ebc278a 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -740,14 +740,14 @@ static void restore_sid(void)
sid = setsid();
if (sid != me->sid) {
pr_perror("Can't restore sid (%d)", sid);
- exit(1);
+ //exit(1);
}
} else {
sid = getsid(getppid());
if (sid != me->sid) {
pr_err("Requested sid %d doesn't match inherited %d\n",
me->sid, sid);
- exit(1);
+ //exit(1);
}
}
}
@@ -765,7 +765,7 @@ static void restore_pgid(void)
pr_info("\twill call setpgid, mine pgid is %d\n", pgid);
if (setpgid(0, me->pgid) != 0) {
pr_perror("Can't restore pgid (%d/%d->%d)", me->pid, pgid, me->pgid);
- exit(1);
+ //exit(1);
}
}
--
1.7.7.6
More information about the CRIU
mailing list