cpp-d1064d
[cross.git] / i686-linux-gnu-4.7 / usr / include / linux / kcmp.h
diff --git a/i686-linux-gnu-4.7/usr/include/linux/kcmp.h b/i686-linux-gnu-4.7/usr/include/linux/kcmp.h
new file mode 100644 (file)
index 0000000..cfa6717
--- /dev/null
@@ -0,0 +1,28 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _LINUX_KCMP_H
+#define _LINUX_KCMP_H
+
+#include <linux/types.h>
+
+/* Comparison type */
+enum kcmp_type {
+       KCMP_FILE,
+       KCMP_VM,
+       KCMP_FILES,
+       KCMP_FS,
+       KCMP_SIGHAND,
+       KCMP_IO,
+       KCMP_SYSVSEM,
+       KCMP_EPOLL_TFD,
+
+       KCMP_TYPES,
+};
+
+/* Slot for KCMP_EPOLL_TFD */
+struct kcmp_epoll_slot {
+       __u32 efd;              /* epoll file descriptor */
+       __u32 tfd;              /* target file number */
+       __u32 toff;             /* target offset within same numbered sequence */
+};
+
+#endif /* _LINUX_KCMP_H */