Re: [patch] stop inotify from sending random DELETE_SELF event underload
From: Linus Torvalds
Date: Tue Sep 20 2005 - 14:40:38 EST
On Tue, 20 Sep 2005, John McCutchan wrote:
>
> Okay here are some cases to help you get a better idea,
The case that is _interesting_ is this one:
ln /tmp/foo /tmp/bar
p1: watch /tmp/foo
and then one or both of (different orders - four cases):
p2: rm /tmp/bar
p2: rm /tmp/foo
(along with "fd = open(/tmp/foo) + rm /tmp/foo + sleep + close(fd)" of
course, which Al already pointed out).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/