mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
And drop compel/include symlink. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
26 lines
472 B
C
26 lines
472 B
C
#include "uapi/plugins.h"
|
|
|
|
#include "uapi/std/syscall.h"
|
|
#include "uapi/std/string.h"
|
|
#include "uapi/plugin-fds.h"
|
|
|
|
#include "std-priv.h"
|
|
|
|
#include "common/compiler.h"
|
|
|
|
#define __sys(foo) sys_##foo
|
|
#define __std(foo) std_##foo
|
|
|
|
#include "../../src/shared/fds.c"
|
|
|
|
int fds_send(int *fds, int nr_fds)
|
|
{
|
|
return fds_send_via(std_ctl_sock(), fds, nr_fds);
|
|
}
|
|
|
|
int fds_recv(int *fds, int nr_fds)
|
|
{
|
|
return fds_recv_via(std_ctl_sock(), fds, nr_fds);
|
|
}
|
|
|
|
PLUGIN_REGISTER_DUMMY(fds)
|