Error in /usr/include/mach/message.h
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, On 10.6.3, doing a diff between /usr/include/mach/message.h and /System/Library/Frameworks/Kernel.framework/Headers/mach/message.h you'll notice "uint32_t pad_end;" is missing from mach_msg_port_descriptor_t in /usr/include/mach/message.h:238 Which leads to MIG_TYPE_ERROR (-300) when passing that structure between mig generated code compiled in userspace vs kernelspace (as the structs differ in size). Our fix was to add it back to the userland header, and everything started working. Just FYI. - Antoine _______________________________________________ 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
participants (1)
-
Antoine Missout