[Bug 76851] inotify_rm_watch(2) unspecified behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=76851

--- Comment #8 from Michael Kerrisk <mtk.manpages@xxxxxxxxx> ---
(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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux