[CRIU] [PATCH 06/11] util-net: Itroduce send_fds/recv_fds routines

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 28 09:36:36 EDT 2012


We will need these helpers to transfer file
descriptors from dumpee to our space.

Also make send_fd/recv_fd to be a wrappers over
send_fds/revc_fds to not duplicate the code.

Note the return code -2 is dropped from recv_x
routines, it is never analyzed anyway.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/util-net.h |   21 +++++++++++-
 util-net.c         |   89 +++++++++++++++++++++++++++++++++++++++-------------
 2 files changed, 86 insertions(+), 24 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-util-net-Itroduce-send_fds-recv_fds-routines.patch
Type: text/x-patch
Size: 3657 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120328/82abb825/0006-util-net-Itroduce-send_fds-recv_fds-routines.bin


More information about the CRIU mailing list