[CRIU] [PATCH 2/4] pie: Move send_fds/recv_fds helpers into separate pie/util-fd.c
Cyrill Gorcunov
gorcunov at openvz.org
Wed Aug 28 15:57:46 EDT 2013
We will need to reuse this code in criu library, where libc calls
are present thus we will be compiling it in shared mode.
Because internal syscalls library won't be needed we wrap them
with __sys macro which would hide the details of invocation depending
on CR_NOGLIBC preprocessor variable passed from command line.
Original-patch-by: Ruslan Kuprieiev <kupruser at gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile | 1 +
pie/Makefile | 1 +
pie/util-fd.c | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pie/util.c | 139 ---------------------------------------------------
4 files changed, 159 insertions(+), 139 deletions(-)
create mode 100644 pie/util-fd.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-pie-Move-send_fds-recv_fds-helpers-into-separate-pie.patch
Type: text/x-patch
Size: 8680 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130828/cfd05104/attachment-0001.bin>
More information about the CRIU
mailing list