Re: sockaddr binary compatibility between kernel and user?
Re: sockaddr binary compatibility between kernel and user?
- Subject: Re: sockaddr binary compatibility between kernel and user?
- From: email@hidden
- Date: Sun, 14 Jan 2007 13:16:56 -0800
These structures are used primarily to communicate between a user
process and the kernel, so I'd think that any failure is a bug.
Generally, it works.
As far as 32- vs. 64-bit issues, these are generally handled at the
system call interface. The kernel knows what mode each process is
using, and has set up its handling of the process's system calls with
that in mind.
That's the thing I'm concerned about. If there is no binary
compatibility guarantee then the system call interface could be fixing
up structures before passing them to kernel code using them. Since I'm
not going through the system call interface (I'm just sending data via
an IOKit user client), I want to make sure what I'm doing won't break
in the future.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden