site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=O+GRbGaVRNYhXA7+sQSfNewAx+sjDgzFtgUtEvvsvWY=; b=x+MmeT68HQCt4s5Vk7iFRVJwCtzVIc/slgn3bzsBTkThrZIgPFyW8VxIAomp4hHOau wFhYnrzlnXmO4DntK1AQwy1CAnCINNsgeu8w6BC81goqd9UF5PHf4VUrzSwOWm2Zuxdo B31TuKAl1ypEGjcbSQH3iw10hehS2Id6UTsM8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=csycOIoNH+JPLDMecOUdA8UkDFHQtnHWf8jLZ2+NPJk4fyF5YYLYgs1pMeTMgwaAlT 8gkuR9dH+S1RBiW6gBi7L+uymvLEIsaoLkiJP7cZUAI81gHWIfUFVL+jD1tqqa9t8Ibh vfEEbH5wNg/YNFCcNxkuutG7jCB1kkcCo5YRQ= Hello, I'm writing a kext that monitors processes based on their network traffic. One of the events I have to monitor is "process has exited". Kqueue offers a nice uniform way of doing this, but I don't see how it can be called from kernel code. My question is if kqueue can deliver events to a kext, or at least if one can start a kernel thread just for the purpose of waiting for events by calling kevent(). Regards, Bogdan Harjoc _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com