1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_KCMP_H
3 #define _UAPI_LINUX_KCMP_H
4 
5 #include <linux/types.h>
6 
7 /* Comparison type */
8 enum kcmp_type {
9 	KCMP_FILE,
10 	KCMP_VM,
11 	KCMP_FILES,
12 	KCMP_FS,
13 	KCMP_SIGHAND,
14 	KCMP_IO,
15 	KCMP_SYSVSEM,
16 	KCMP_EPOLL_TFD,
17 
18 	KCMP_TYPES,
19 };
20 
21 /* Slot for KCMP_EPOLL_TFD */
22 struct kcmp_epoll_slot {
23 	__u32 efd;		/* epoll file descriptor */
24 	__u32 tfd;		/* target file number */
25 	__u32 toff;		/* target offset within same numbered sequence */
26 };
27 
28 #endif /* _UAPI_LINUX_KCMP_H */
29