summaryrefslogtreecommitdiff
path: root/include/linux/fanotify.h
blob: e70fccc3757e5c91df5e66e7a64174164bd6c335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_FANOTIFY_H
#define _LINUX_FANOTIFY_H

#include <uapi/linux/fanotify.h>

/* not valid from userspace, only kernel internal */
#define FAN_MARK_ONDIR		0x80000000

#define FAN_GROUP_FLAG(group, flag) \
	((group)->fanotify_data.flags & (flag))

#endif /* _LINUX_FANOTIFY_H */