mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
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> |
||
|---|---|---|
| .. | ||
| criu.c | ||
| criu.h | ||
| criu.pc.in | ||
| Makefile | ||