Example #1
0
int main(int argc, char **argv)
{
	if (getenv("ZDTM_REEXEC"))
		return test_fn(argc, argv);
	test_init_ns(argc, argv, CLONE_NEWNS, test_fn);
	return 0;
}
Example #2
0
File: ipc.c Project: huikang/criu
int main(int argc, char **argv)
{
#ifdef NEW_IPC_NS
	test_init_ns(argc, argv, CLONE_NEWIPC, test_fn);
#else
	test_init(argc, argv);
	test_fn(argc, argv);
#endif
	return 0;
}
Example #3
0
int main(int argc, char **argv)
{
	test_init_ns(argc, argv, CLONE_NEWNS, test_fn);
	return 0;
}