• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sockaddr binary compatibility between kernel and user?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >sockaddr binary compatibility between kernel and user? (From: email@hidden)
 >Re: sockaddr binary compatibility between kernel and user? (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: sockaddr binary compatibility between kernel and user?
  • Next by Date: Cocoa Web Server with POST support
  • Previous by thread: Re: sockaddr binary compatibility between kernel and user?
  • Next by thread: Cocoa Web Server with POST support
  • Index(es):
    • Date
    • Thread