]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/uapi/linux/kcmp.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / kcmp.h
CommitLineData
3f4994cf
ME
1#ifndef _UAPI_LINUX_KCMP_H
2#define _UAPI_LINUX_KCMP_H
d97b46a6 3
0791e364
CG
4#include <linux/types.h>
5
d97b46a6
CG
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,
0791e364 15 KCMP_EPOLL_TFD,
d97b46a6
CG
16
17 KCMP_TYPES,
18};
19
0791e364
CG
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
3f4994cf 27#endif /* _UAPI_LINUX_KCMP_H */