Lines Matching +full:pre +full:- +full:programs
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 /* the following events that user-space can register for */
30 #define FAN_PRE_ACCESS 0x00100000 /* Pre-content access hook */
51 /* Deprecated - do not use this in programs and do not add new flags here! */
60 #define FAN_REPORT_PIDFD 0x00000080 /* Report pidfd for event->pid */
61 #define FAN_REPORT_TID 0x00000100 /* event->pid is thread id */
66 #define FAN_REPORT_FD_ERROR 0x00002000 /* event->fd can report error */
68 /* Convenience macro - FAN_REPORT_NAME requires FAN_REPORT_DIR_FID */
70 /* Convenience macro - FAN_REPORT_TARGET_FID requires all other FID flags */
74 /* Deprecated - do not use this in programs and do not add new flags here! */
99 * Convenience macro - FAN_MARK_IGNORE requires FAN_MARK_IGNORED_SURV_MODIFY
100 * for non-inode mark types.
104 /* Deprecated - do not use this in programs and do not add new flags here! */
114 /* Deprecated - do not use this in programs and do not add new flags here! */
123 /* Deprecated - do not use this in programs and do not add new flags here! */
127 /* Deprecated - do not use this in programs and do not add new flags here! */
240 #define FAN_ERRNO_SHIFT (32 - FAN_ERRNO_BITS)
241 #define FAN_ERRNO_MASK ((1 << FAN_ERRNO_BITS) - 1)
249 #define FAN_NOFD -1
251 #define FAN_EPIDFD -2
256 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, \
258 (meta)->event_len))
261 (long)(meta)->event_len >= (long)FAN_EVENT_METADATA_LEN && \
262 (long)(meta)->event_len <= (long)(len))