mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Adrian Reber <areber@redhat.com>
25 lines
434 B
C
25 lines
434 B
C
#include <errno.h>
|
|
|
|
#include "uapi/plugins.h"
|
|
#include "uapi/plugins/std.h"
|
|
#include <compel/plugins/std/infect.h>
|
|
|
|
#define pr_err(fmt, ...)
|
|
|
|
#include "common/compiler.h"
|
|
#include "common/bug.h"
|
|
|
|
#define __sys(foo) sys_##foo
|
|
#define __sys_err(ret) ret
|
|
|
|
#include "common/scm.h"
|
|
|
|
int fds_send_fd(int fd)
|
|
{
|
|
return send_fd(parasite_get_rpc_sock(), NULL, 0, fd);
|
|
}
|
|
|
|
int fds_recv_fd(void)
|
|
{
|
|
return recv_fd(parasite_get_rpc_sock());
|
|
}
|