criu/compel/plugins/include/uapi/plugin-fds.h
Dmitry Safonov 1c0716924b compel/criu: Add __must_check
All those compel functions can fail by various reasons.
It may be status of the system, interruption by user or anything else.
It's really desired to handle as many PIE related errors as possible
otherwise it's hard to analyze statuses of parasite/restorer
and the C/R process.

At least warning for logs should be produced or even C/R stopped.

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2020-02-04 12:39:04 -08:00

7 lines
184 B
C

#ifndef COMPEL_PLUGIN_STD_STD_H__
#define COMPEL_PLUGIN_STD_STD_H__
extern int __must_check fds_send_fd(int fd);
extern int fds_recv_fd(void);
#endif /* COMPEL_PLUGIN_STD_STD_H__ */