John McCutchan
8140a5005b
[PATCH] inotify: add two inotify_add_watch flags
...
The below patch lets userspace have more control over the inodes that
inotify will watch. It introduces two new flags.
IN_ONLYDIR -- only watch the inode if it is a directory.
This is needed to avoid the race that can occur when we want to be
sure that we are watching a directory.
IN_DONT_FOLLOW -- don't follow a symlink. In combination
with IN_ONLYDIR we can make sure that we don't watch the target of
symlinks.
The issues the flags fix came up when writing the gnome-vfs inotify
backend. Default behaviour is unchanged.
Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Acked-by: Robert Love <rml@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-12 08:57:43 -08:00
..
2005-11-28 14:42:25 -08:00
2005-11-09 07:55:57 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:56:17 +01:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:54:53 +01:00
2005-10-04 13:22:01 -07:00
2005-11-29 22:38:43 -08:00
2005-10-28 09:52:52 -07:00
2005-09-10 10:06:35 -07:00
2005-11-07 07:54:06 -08:00
2005-11-13 18:14:17 -08:00
2005-11-28 14:42:24 -08:00
2005-11-09 07:55:58 -08:00
2005-11-08 16:47:45 +01:00
2005-11-28 14:42:26 -08:00
2005-11-09 07:55:57 -08:00
2005-11-29 19:47:03 -08:00
2005-11-09 07:55:57 -08:00
2005-11-09 07:55:57 -08:00
2005-11-22 09:13:43 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:48:36 +01:00
2005-11-29 16:57:17 +01:00
2005-10-31 16:53:04 -06:00
2005-11-07 07:54:06 -08:00
2005-09-09 13:57:27 -07:00
2005-10-30 17:37:32 -08:00
2005-11-09 07:55:59 -08:00
2005-12-03 15:20:21 -05:00
2005-10-11 09:46:54 -07:00
2005-11-07 07:54:06 -08:00
2005-11-01 15:49:31 +00:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:49:14 +01:00
2005-11-28 14:34:23 -08:00
2005-09-09 13:57:27 -07:00
2005-11-29 19:47:03 -08:00
2005-10-10 08:39:50 -07:00
2005-11-07 07:53:39 -08:00
2005-09-09 13:57:27 -07:00
2005-11-09 07:55:59 -08:00
2005-11-07 07:54:06 -08:00
2005-10-30 17:37:32 -08:00
2005-11-25 16:42:28 +11:00
2005-11-13 18:14:16 -08:00
2005-10-30 17:37:27 -08:00
2005-10-29 21:40:38 -07:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-10-29 21:40:38 -07:00
2005-11-09 07:55:59 -08:00
2005-10-29 21:40:38 -07:00
2005-10-28 08:16:47 -07:00
2005-11-07 07:53:39 -08:00
2005-11-20 13:41:59 -08:00
2005-11-22 09:13:43 -08:00
2005-11-07 07:53:35 -08:00
2005-10-29 21:40:39 -07:00
2005-11-28 14:42:26 -08:00
2005-09-28 07:46:41 -07:00
2005-11-29 14:03:14 -08:00
2005-09-09 13:57:55 -07:00
2005-11-07 07:53:24 -08:00
2005-09-14 12:38:26 -07:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:55 -08:00
2005-10-30 17:37:26 -08:00
2005-12-12 08:57:43 -08:00
2005-11-08 16:57:02 +01:00
2005-11-10 19:36:39 -08:00
2005-10-30 17:37:10 -08:00
2005-11-13 12:29:58 -05:00
2005-11-07 18:18:10 -08:00
2005-11-07 07:54:06 -08:00
2005-10-08 15:00:57 -07:00
2005-11-09 07:56:40 -08:00
2005-11-09 07:55:58 -08:00
2005-11-09 07:55:59 -08:00
2005-09-10 10:06:22 -07:00
2005-11-07 18:18:11 -08:00
2005-11-07 18:18:11 -08:00
2005-10-08 15:00:57 -07:00
2005-11-07 07:53:39 -08:00
2005-09-29 15:42:08 -07:00
2005-09-09 13:57:55 -07:00
2005-11-07 18:18:09 -08:00
2005-11-07 18:18:09 -08:00
2005-12-12 08:57:42 -08:00