mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-19 01:26:22 +00:00
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>
9 lines
272 B
C
9 lines
272 B
C
#ifndef __COMPEL_INFECT_UTIL_H__
|
|
#define __COMPEL_INFECT_UTIL_H__
|
|
|
|
#include "common/compiler.h"
|
|
|
|
struct parasite_ctl;
|
|
extern int __must_check compel_util_send_fd(struct parasite_ctl *ctl, int fd);
|
|
extern int compel_util_recv_fd(struct parasite_ctl *ctl, int *pfd);
|
|
#endif
|