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