criu/lib/c
Adrian Reber 83be11f1f4 lib/c: extend receive to handle incoming FDs
When using libcriu with the notify callback functionality CRIU transmits
an FD during 'orphan-pts-master' back to libcriu user. This is message
is sent via sendmsg() to transmit the FD and not via write() as all
other protobuf messages.

libcriu was using recv() and to be able to receive the FD this needs to
be changed to recvmsg() and if an FD is attached to it (currently only
for 'orphan-pts-master' this FD is stored in a variable which can be
retrieved with the function criu_get_orphan_pts_master_fd().

Signed-off-by: Adrian Reber <areber@redhat.com>
2020-10-20 00:18:24 -07:00
..
criu.c lib/c: extend receive to handle incoming FDs 2020-10-20 00:18:24 -07:00
criu.h lib/c: extend receive to handle incoming FDs 2020-10-20 00:18:24 -07:00
criu.pc.in build: Move C and Python libraries into lib 2016-02-15 15:32:39 +03:00
Makefile compel: no -r for ARM ldflags 2017-04-02 18:12:10 +03:00