Re: kern_control question
Re: kern_control question
- Subject: Re: kern_control question
- From: Stephane Sudre <email@hidden>
- Date: Thu, 18 Aug 2005 11:18:57 +0200
On 17 août 05, at 22:16, Vincent Lubet wrote:
Peter,
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.
I'm not sure to fully understand the logic in changing the getsockopt
behavior instead of just introducing a new API.
I mean: what is the purpose of the KPIs if you still need to hack the
APIs?
Because:
- this introduces incompatibilities with previous release of the OS.
It's working on 10.4.2 but not on 10.4. So adding a new API would have
just been fine.
- this is not documented in the latest available documentation or
headers. If this is not documented, this does not exist.
My $0.02
_______________________________________________
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