2017-11-01 17:08:43 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2014-12-02 08:52:06 +03:00
|
|
|
#ifndef _UAPI_LINUX_KCMP_H
|
|
|
|
#define _UAPI_LINUX_KCMP_H
|
2012-06-01 03:26:44 +04:00
|
|
|
|
2017-07-13 00:34:28 +03:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2012-06-01 03:26:44 +04:00
|
|
|
/* Comparison type */
|
|
|
|
enum kcmp_type {
|
|
|
|
KCMP_FILE,
|
|
|
|
KCMP_VM,
|
|
|
|
KCMP_FILES,
|
|
|
|
KCMP_FS,
|
|
|
|
KCMP_SIGHAND,
|
|
|
|
KCMP_IO,
|
|
|
|
KCMP_SYSVSEM,
|
2017-07-13 00:34:28 +03:00
|
|
|
KCMP_EPOLL_TFD,
|
2012-06-01 03:26:44 +04:00
|
|
|
|
|
|
|
KCMP_TYPES,
|
|
|
|
};
|
|
|
|
|
2017-07-13 00:34:28 +03:00
|
|
|
/* 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 */
|
|
|
|
};
|
|
|
|
|
2014-12-02 08:52:06 +03:00
|
|
|
#endif /* _UAPI_LINUX_KCMP_H */
|