blob: 6a24905f6e1e2964ecea4487e3140913d4bccc57 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Robert Love0eeca282005-07-12 17:06:03 -04002/*
3 * Inode based directory notification for Linux
4 *
5 * Copyright (C) 2005 John McCutchan
6 */
Robert Love0eeca282005-07-12 17:06:03 -04007#ifndef _LINUX_INOTIFY_H
8#define _LINUX_INOTIFY_H
9
Dave Youngd14f1722010-02-25 20:28:57 -050010#include <linux/sysctl.h>
David Howells607ca462012-10-13 10:46:48 +010011#include <uapi/linux/inotify.h>
12
Dave Youngd14f1722010-02-25 20:28:57 -050013extern struct ctl_table inotify_table[]; /* for sysctl */
Eric Parisf874e1a2010-07-28 10:18:37 -040014
15#define ALL_INOTIFY_BITS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \
16 IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \
17 IN_MOVED_TO | IN_CREATE | IN_DELETE | \
18 IN_DELETE_SELF | IN_MOVE_SELF | IN_UNMOUNT | \
19 IN_Q_OVERFLOW | IN_IGNORED | IN_ONLYDIR | \
20 IN_DONT_FOLLOW | IN_EXCL_UNLINK | IN_MASK_ADD | \
Henry Wilson4d97f7d2018-05-31 09:43:03 +000021 IN_MASK_CREATE | IN_ISDIR | IN_ONESHOT)
Eric Parisf874e1a2010-07-28 10:18:37 -040022
Robert Love0eeca282005-07-12 17:06:03 -040023#endif /* _LINUX_INOTIFY_H */