Commit 7c72478f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

kcmp: Add epoll definitions

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 40c986ca
#ifndef __CR_KCMP_H__
#define __CR_KCMP_H__
#include <stdint.h>
enum kcmp_type {
KCMP_FILE,
KCMP_VM,
......@@ -9,8 +11,16 @@ enum kcmp_type {
KCMP_SIGHAND,
KCMP_IO,
KCMP_SYSVSEM,
KCMP_EPOLL_TFD,
KCMP_TYPES,
};
/* Slot for KCMP_EPOLL_TFD */
typedef struct {
uint32_t efd; /* epoll file descriptor */
uint32_t tfd; /* target file number */
uint32_t toff; /* target offset within same numbered sequence */
} kcmp_epoll_slot_t;
#endif /* __CR_KCMP_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment