Reading data from the Kernel: many to one
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com The mechanisms I have experimented so far are: _______________________________________________ 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... What kind of mechanism can be used to read data in the Kernel from a user land application when you need it to work with multiple user land processes? Let's say I have a long stored in a Kernel Extension and I want to read the value of this long from multiple user land applications (by polling). - Kern Control: Add a Kern Control, and get the value via a getsockopt. It works but this requires to have as much Kern Control sockets registered in the kernel as user land applications that want to access the long. - sysctl: Add a sysctl record. It works perfectly well but for some reasons I can't use it. Is there any other simple mechanism (by simple I mean not involving the I/O Kit for instance)? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre