mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
eventpoll: parse_fdinfo_pid_s() returns allocated object for eventpol tfd
We are going to collect all objects in a list and write them into the eventpoll image. The eventpoll tfd image will be depricated. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
78a54bd87c
commit
33c75d0df9
@@ -182,17 +182,23 @@ struct fanotify_mark_entry {
|
||||
};
|
||||
};
|
||||
|
||||
struct eventpoll_tfd_entry {
|
||||
EventpollTfdEntry e;
|
||||
struct list_head node;
|
||||
};
|
||||
|
||||
union fdinfo_entries {
|
||||
EventfdFileEntry efd;
|
||||
EventpollTfdEntry epl;
|
||||
SignalfdEntry sfd;
|
||||
struct inotify_wd_entry ify;
|
||||
struct fanotify_mark_entry ffy;
|
||||
struct eventpoll_tfd_entry epl;
|
||||
TimerfdEntry tfy;
|
||||
};
|
||||
|
||||
extern void free_inotify_wd_entry(union fdinfo_entries *e);
|
||||
extern void free_fanotify_mark_entry(union fdinfo_entries *e);
|
||||
extern void free_event_poll_entry(union fdinfo_entries *e);
|
||||
|
||||
struct fdinfo_common {
|
||||
off64_t pos;
|
||||
|
Reference in New Issue
Block a user