criu/include/common
Kirill Tkhai 6a3cfcd550 scm: Return sensible error codes in recv_fds()
Replace "-1" return with errno codes.

ENOMSG and EBADFD were choosen to do not cross with
standard recvmsg() errors (described in its man page).

This patch is need as preparation to making recv_msg()
be able to be non-block, and return EAGAIN and EWOULDBLOCK
in case of no data.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2017-02-03 18:04:22 +03:00
..
arch headers: Switch to common linkage.h 2016-11-21 23:15:19 +03:00
asm-generic headers: Fix iquote for include/common 2016-11-03 00:13:04 +03:00
bitops.h common: Use complete path in inclusion 2016-11-03 00:13:04 +03:00
bitsperlong.h common: bitsperlong -- Specify complete path 2016-11-03 00:13:04 +03:00
bug.h include/common: Move bug.h in 2016-11-03 00:13:03 +03:00
compiler.h common: Move compiler.h into 2016-11-03 00:13:03 +03:00
err.h headers: Move err.h to common 2016-11-03 00:13:04 +03:00
list.h common: Move compiler.h into 2016-11-03 00:13:03 +03:00
page.h common: Use complete path in inclusion 2016-11-03 00:13:04 +03:00
scm-code.c scm: Return sensible error codes in recv_fds() 2017-02-03 18:04:22 +03:00
scm.h files: Rework send/recv-fds to be more generic 2016-12-12 16:22:19 +03:00
xmalloc.h headers: Move xmalloc to common 2016-11-03 00:13:04 +03:00