site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Peter, Vincent On Aug 17, 2005, at 1:04 PM, Peter Lovell wrote: However, I can work around the issue. Thanks for the confirmation. Regards.....Peter On Aug 17, 2005, at 2:50 PM, Josh Graessley wrote: That is correct. You can use socket options instead. -josh On Aug 17, 2005, at 11:43 AM, Peter Lovell wrote: This email sent to jgraessley@apple.com _______________________________________________ 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... In fact, starting with Mac OS X 10.4.2, a call to getsockopt() on a kernel control socket will copy the user data into the kernel buffer. This should provide for the read/write behavior you're looking for. Actually they're not quite equivalent. ioctl allows the data area to be read/write, but socket options are one or the other, not both. Hi all, this is a question for which I think I have the answer but I'm posing it just to make sure I haven't overlooked anything. It seems to me that kern_control sockets do not support user- defined ioctls, just CTLIOCGCOUNT and CTLIOCGINFO. Is this correct? Thanks.....Peter _______________________________________________ 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/jgraessley% 40apple.com _______________________________________________ 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/vlubet% 40apple.com This email sent to vlubet@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Vincent Lubet