test_evfilt_proc tests

3 views
Skip to first unread message

Patrick Nip

unread,
Jul 26, 2012, 3:29:55 AM7/26/12
to libk...@googlegroups.com
I am wondering when will the test_evfilt_proc tests be fix? The reason I asked is that I am planning to use libkqueue for EVFILT_PROC but am a little hesitate when I see fixme everywhere and it seems there are issues with the ut.

Mark Heily

unread,
Jul 26, 2012, 10:41:49 PM7/26/12
to libk...@googlegroups.com
On Thursday, July 26, 2012 3:29:55 AM UTC-4, Patrick Nip wrote:
I am wondering when will the test_evfilt_proc tests be fix? The reason I asked is that I am planning to use libkqueue for EVFILT_PROC but am a little hesitate when I see fixme everywhere and it seems there are issues with the ut.

Sorry, the EVFILT_PROC filter is not implemented, and would be very hard to implement because there is no equivalent functionality in other non-BSD operating systems.

 - Mark

Eric Wong

unread,
Jul 26, 2012, 10:48:47 PM7/26/12
to libk...@googlegroups.com
I'm not familiar with either, but I seem to recall netlink in Linux offers
similar functionality. I know "god" supports it:

git clone git://github.com/mojombo/god
cd god && cat ext/god/netlink_handler.c

Mark Heily

unread,
Oct 18, 2012, 9:24:01 PM10/18/12
to libk...@googlegroups.com
Unfortunately, netlink is only available to the root user, so it cannot be used to emulate EVFILT_PROC.

Reply all
Reply to author
Forward
0 new messages