Second set of cleanup patches. With these patches, LXC will be able to compile/link directly using restart.o and app-checkpoint.h from the user-cr directory. Something like: USER_CR=/home/suka/user-cr make lxc_restart After having more detailed discussions on the API, we could install restart.o in /lib/libcheckpoint.a and app-checkpoint.h in /usr/include. [PATCH 01/12][user-cr] restart: Mark globals as static [PATCH 02/12][user-cr] restart: Add args->send_sigint [PATCH 03/12][user-cr] Add app_restart_args->debug [PATCH 04/12][user-cr] Add app_restart_args->verbose [PATCH 05/12][user-cr] Add app_restart_args->ulogfd [PATCH 06/12][user-cr] Add app_restart_args->uerrfd [PATCH 07/12][user-cr] Define INIT_SIGNAL_ARRAY [PATCH 08/12][user-cr] Create common.h [PATCH 09/12][user-cr] Create app-checkpoint.h [PATCH 10/12][user-cr] restart: Move main() to restart-main.c [PATCH 11/12][user-cr] checkpoint: Move main() to checkpoint-main.c [PATCH 12/12][user-cr] Have app_restart() return pid Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers