Error in /usr/include/mach/message.h
Error in /usr/include/mach/message.h
- Subject: Error in /usr/include/mach/message.h
- From: Antoine Missout <email@hidden>
- Date: Tue, 25 May 2010 21:02:29 -0400
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden