idr_get_new_above not working?

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

 



Hey,

Inotify is using idr_get_new_above to make sure that the next watch
descriptor is larger/different than any of the previous watch
descriptors. We keep track of the largest wd that we get out of
idr_get_new_above, and pass that to idr_get_new_above. I have noticed
though, that idr_get_new_above always returns the first available id.
This causes a serious problem for inotify, because user space will get a
IGNORE event for a wd K that might refer to the last holder of the K.

-- 
John McCutchan <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux