The status of NOTE_TRACK bug in kqueue
The status of NOTE_TRACK bug in kqueue
- Subject: The status of NOTE_TRACK bug in kqueue
- From: Nikita Zhuk <email@hidden>
- Date: Sat, 23 Sep 2006 14:45:26 +0300
Hello,
I'm writing an application where I need to notice when a specific
process forks a child process, and when that child process exits.
There's a NOTE_TRACK event which can be monitored via kqueue
mechanism, which follows a process across fork() calls and allows me
to receive PIDs of both parent and child processes, which is just
what I need. However, monitoring the NOTE_TRACK event causes kernel
panic as soon as the parent process fork()s any children. This bug
with a simple test case has been posted to this list [1] in 2005, and
based on the list archives it has been also reported via bugreporter.
Does anyone have any updates on this issue? The bug is still present
in Mac OS X 10.4.7, Darwin 8.7.1.
Any ideas about alternative ways to accomplish the same goal would be
also appreciated (polling the whole process list isn't an option).
--
Nikita Zhuk
[1] http://lists.apple.com/archives/Darwin-kernel/2005/Jul/msg00115.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden