blob: 481e103da78ed42a5a76447e836ee8374541d7c7 [file] [log] [blame]
Arnaldo Carvalho de Melo735e2152017-10-31 10:04:11 -03001#ifndef _UAPI_LINUX_KCMP_H
2#define _UAPI_LINUX_KCMP_H
3
4#include <linux/types.h>
5
6/* Comparison type */
7enum kcmp_type {
8 KCMP_FILE,
9 KCMP_VM,
10 KCMP_FILES,
11 KCMP_FS,
12 KCMP_SIGHAND,
13 KCMP_IO,
14 KCMP_SYSVSEM,
15 KCMP_EPOLL_TFD,
16
17 KCMP_TYPES,
18};
19
20/* Slot for KCMP_EPOLL_TFD */
21struct kcmp_epoll_slot {
22 __u32 efd; /* epoll file descriptor */
23 __u32 tfd; /* target file number */
24 __u32 toff; /* target offset within same numbered sequence */
25};
26
27#endif /* _UAPI_LINUX_KCMP_H */