• 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_un and long paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sockaddr_un and long paths


  • Subject: Re: Sockaddr_un and long paths
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 01 Sep 2014 09:11:37 +0100

On 29 Aug 2014, at 20:19, Dave Camp <email@hidden> wrote:

> Is this a hard coded limitation, or can I allocate a larger than normal socksddr_un struct if needed?

The latter.  The length limit of sun_path is a historical oddity.  The kernel will happily cope with any path up to 255 byte limit for the entire sockaddr_un imposed by sun_len.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
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


  • Next by Date: OS X 10.9.4 and Socket Filters
  • Next by thread: OS X 10.9.4 and Socket Filters
  • Index(es):
    • Date
    • Thread