[SERVER-9832] Missing PF_LOCAL symbol in Solaris 10 Created: 31/May/13 Updated: 11/Jul/16 Resolved: 05/Jun/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 2.5.0 |
| Fix Version/s: | 2.4.6, 2.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Solaris 10 |
||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | Solaris | ||||
| Participants: | |||||
| Description |
|
The header files for Solaris 10 do not declare the symbol PF_LOCAL, used to specify Unix domain sockets as the "protocol family" for socket calls. PF_LOCAL is the POSIX name for what BSD Unix called PF_UNIX. According to http://www.gnu.org/software/libc/manual/html_node/Address-Formats.html,
I verified that using PF_UNIX works around the problem on Solaris 10. Suggest backport to 2.4 branch (optionally 2.2 as well). |
| Comments |
| Comment by auto [ 17/Jul/13 ] |
|
Author: {u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: PF_LOCAL is the POSIX name for the Unix domain sockets protocol family, |
| Comment by auto [ 05/Jun/13 ] |
|
Author: {u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: PF_LOCAL is the POSIX name for the Unix domain sockets protocol family, |
| Comment by Tad Marshall [ 31/May/13 ] |
|
This only affects the unit test src/mongo/util/net/sock_test.cpp; the PF_LOCAL symbol is not currently used anywhere else in the codebase. |