mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-24 02:35:41 +00:00
Currently fdinfo dumps for each task, so CR_FD_FDINFO is in cr_fdset. A few tasks can share one fd table and the set of descriptors will be dumped once and a image name will contain files_id instead of pid. In this case CR_FD_FDINFO will go away from cr_fdset. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
17 lines
412 B
C
17 lines
412 B
C
#ifndef __CR_EVENTFD_H__
|
|
#define __CR_EVENTFD_H__
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include "compiler.h"
|
|
#include "asm/types.h"
|
|
#include "files.h"
|
|
#include "crtools.h"
|
|
|
|
extern int is_eventfd_link(int lfd);
|
|
extern int dump_eventfd(struct fd_parms *p, int lfd, const int fdinfo);
|
|
extern int collect_eventfd(void);
|
|
extern void show_eventfds(int fd, struct cr_options *o);
|
|
|
|
#endif /* __CR_EVENTFD_H__ */
|