From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org Subject: [Bug 76851] inotify_rm_watch(2) unspecified behavior Date: Fri, 30 May 2014 12:25:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=76851 --- Comment #8 from Michael Kerrisk --- (In reply to Jeff from comment #4) > I should also add that my assumptions about watch descriptor reuse may very > well be overly cautious. If there is a guarantee that a wd will never be > returned by a inotify_add_watch() call until nothing with that wd remains in > the read queue [...] And that's the nub of the issue of course. As I suspected, and Heinrich has demonstrated in #5, the kernel does not provide such a guarantee. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html