mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 09:10:10 +00:00
v2:
- Pass initial counter value to eventfd call
(can't pass flags here since they are obtained
with fcntl and must be restored same way or
restore will fail)
- Use rst_file_params for flags and owner restore
- Use eventfd.[ch] instead of eventfs.[ch]
- Move show funcs to eventfd.c
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
17 lines
393 B
C
17 lines
393 B
C
#ifndef EVENTFD_H__
|
|
#define EVENTFD_H__
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include "compiler.h"
|
|
#include "types.h"
|
|
#include "files.h"
|
|
#include "crtools.h"
|
|
|
|
extern int is_eventfd_link(int lfd);
|
|
extern int dump_one_eventfd(int lfd, u32 id, const struct fd_parms *p);
|
|
extern int collect_eventfd(void);
|
|
extern void show_eventfds(int fd, struct cr_options *o);
|
|
|
|
#endif /* EVENTFD_H__ */
|