Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value #589

Merged
merged 1 commit into from Apr 28, 2016

Conversation

mslehto
Copy link
Member

@mslehto mslehto commented Apr 28, 2016

sockaddr_un.sun_path[] seem to be either 104 or 108 in following Unices:
104 - NetBSD, OpenBSD, FreeBSD, DragonFly BSD, MINIX, XNU(Apple OS X)
108 - illumos, Solaris, Linux

…mon value

sockaddr_un.sun_path[] seem to be either 104 or 108 in following Unices:
104 - NetBSD, OpenBSD, FreeBSD, DragonFly BSD, MINIX, XNU(Apple OS X)
108 - illumos, Solaris, Linux
@miconda
Copy link
Member

miconda commented Apr 28, 2016

Why the lowest and not the highest? Is it used for buffers where the values are copied?

@miconda
Copy link
Member

miconda commented Apr 28, 2016

Thanks for patch and pointers, helped to clarify.

@miconda miconda merged commit e9c25da into kamailio:master Apr 28, 2016
@mslehto mslehto deleted the UNIX_PATH_MAX branch May 12, 2016 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants