~jamesodhunt/libnih/libnih-inotify-overflow-fix-for-777093

  • Committer: James Hunt
  • Date: 2011-06-21 16:20:30 UTC
  • Revision ID: james.hunt@ubuntu.com-20110621162030-8d8ldrlcih6q3q5w
Special case code to handle inotify event queue overflow (LP:#777093).

* nih/watch.c: nih_watch_reader(): Handle situation where kernel
  is generating events faster than can be consumed by simply
  ignoring them. Failure to do so results in an assertion failure in
  nih_watch_handle_by_wd() since the inotify_event object will
  contain an invalid watch descriptor (-1).
* nih/tests/test_watch.c:
  - Added PROC_MAX_INOTIFY define.
  - test_reader(): Added test to check for inotify event queue overflow
    handling.
Filename Latest Rev Last Changed Committer Comment Size
..
m4 1 18 years ago Scott James Remnant * ChangeLog: Initial project infrastructure create Diff
nih 1 18 years ago Scott James Remnant * ChangeLog: Initial project infrastructure create Diff
nih-dbus 633 15 years ago Scott James Remnant * nih/dbus.c, nih/dbus.h, nih/libnih-dbus.supp, ni Diff
nih-dbus-tool 664 15 years ago Scott James Remnant * configure.ac: Create nih-dbus-tool Makefile * Ma Diff
po 4 18 years ago Scott James Remnant * po/LINGUAS: Created file to hold language list o Diff
.bzrignore 1002 14 years ago Scott James Remnant * nih/libnih.pc.in, nih-dbus/libnih-dbus.pc.in: So 1.1 KB Diff Download File
AUTHORS 174 17 years ago Scott James Remnant * AUTHORS: Mention the ChangeLog file. 177 bytes Diff Download File
ChangeLog 1050 12 years ago James Hunt Special case code to handle inotify event queue ov 320 KB Diff Download File
configure.ac 1047 13 years ago Scott James Remnant * configure.ac: Bump version to 1.0.4 * NEWS: Begi 2 KB Diff Download File
COPYING 921 14 years ago Scott James Remnant * COPYING: Change licence to version 2 of the GNU 17.5 KB Diff Download File
HACKING 1009 14 years ago Scott James Remnant * configure.ac (AC_PRERQ): Update to 2.62 (AM_INIT 4.7 KB Diff Download File
Makefile.am 1001 14 years ago Scott James Remnant * Makefile.am: Always build libnih-dbus and nih-db 164 bytes Diff Download File
NEWS 1047 13 years ago Scott James Remnant * configure.ac: Bump version to 1.0.4 * NEWS: Begi 15.1 KB Diff Download File
README 999 14 years ago Scott James Remnant * README: Remove the usage instructions, since thi 1.8 KB Diff Download File
TODO 1025 14 years ago Scott James Remnant * TODO: Update. 6.4 KB Diff Download File