kcmp.h 537 B

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