actions: report pid in the post-restore notification

libcontainer saves PID in a state file.

Signed-off-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2015-03-31 10:45:26 +03:00 committed by Pavel Emelyanov
parent 4bfafd09d6
commit c324c896b9

View file

@ -163,6 +163,7 @@ int send_criu_rpc_script(enum script_actions act, char *name, int fd)
switch (act) {
case ACT_SETUP_NS:
case ACT_POST_RESTORE:
/*
* FIXME pid is required only once on
* restore. Need some more sane way of