kevent() does not report occured actions properly

Bug #1514837 reported by Michael Albinus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libkqueue (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using kevent() with a VNODE filter. Received events report in ev.fflags ALL registered actions instead of just the actions which have triggered the event. See the attached test program, which I have derived from the example on http://julipedia.meroh.net/2004/10/example-of-kqueue.html

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: libkqueue0 2.0.3-1.1
ProcVersionSignature: Ubuntu 4.2.0-17.20-generic 4.2.3
Uname: Linux 4.2.0-17-generic x86_64
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Tue Nov 10 14:37:47 2015
Dependencies:
 gcc-5-base 5.2.1-22ubuntu2
 libc6 2.21-0ubuntu4
 libgcc1 1:5.2.1-22ubuntu2
InstallationDate: Installed on 2012-03-12 (1337 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120311)
SourcePackage: libkqueue
UpgradeStatus: Upgraded to wily on 2015-10-24 (16 days ago)

Revision history for this message
Michael Albinus (michael-albinus) wrote :
Revision history for this message
Carlo Marcelo Arenas Belón (carenasgm) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.