CRIU requires a pid of the init.
Signed-off-by: Andrey Vagin
---
include/types.h| 2 ++
include/util.h | 1 +
src/lib/hooks_ct.c | 20 ++--
src/lib/util.c | 5 +
4 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/include/types.h b/include/types.h
i
CRIU requires a pid of the init.
Signed-off-by: Andrey Vagin
---
include/types.h| 2 ++
include/util.h | 1 +
src/lib/hooks_ct.c | 18 +-
src/lib/util.c | 5 +
4 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/include/types.h b/include/types.h
inde
On 05/16/2013 04:14 PM, Andrey Vagin wrote:
> CRIU requires a pid of the init.
>
> Signed-off-by: Andrey Vagin
The way you coded it, it seems to me that we will always overwrite the
pid file, which is fine: this way we won't run into the usual "pid file
already exists" kinds of problem. When we
On Thu, May 16, 2013 at 08:25:57PM +0400, Glauber Costa wrote:
> On 05/16/2013 04:14 PM, Andrey Vagin wrote:
> > CRIU requires a pid of the init.
> >
> > Signed-off-by: Andrey Vagin
>
> The way you coded it, it seems to me that we will always overwrite the
> pid file, which is fine: this way we