]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/sched.h
fanotify: limit number of listeners per user
[net-next-2.6.git] / include / linux / sched.h
index be7adb7588e5e5519c45caff28534cb3e2476b72..6f420baf37ca05e7e8395eed236f0ba5f1a0fde7 100644 (file)
@@ -672,6 +672,9 @@ struct user_struct {
        atomic_t inotify_watches; /* How many inotify watches does this user have? */
        atomic_t inotify_devs;  /* How many inotify devs does this user have opened? */
 #endif
+#ifdef CONFIG_FANOTIFY
+       atomic_t fanotify_listeners;
+#endif
 #ifdef CONFIG_EPOLL
        atomic_t epoll_watches; /* The number of file descriptors currently watched */
 #endif