2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 18:07:57 +00:00
criu/net.c

19 lines
260 B
C
Raw Normal View History

#include <unistd.h>
#include "syscall-types.h"
#include "namespaces.h"
#include "net.h"
int dump_net_ns(int pid, struct cr_fdset *fds)
{
int ret;
ret = switch_ns(pid, CLONE_NEWNET, "net", NULL);
return ret;
}
int prepare_net_ns(int pid)
{
return -1;
}