Changeset 96475 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Aug 25, 2022 2:27:54 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153323
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp
r96407 r96475 242 242 * Create the local (unix) socket and bind to it. 243 243 */ 244 rc = rtSocketCreate(&pThis->hSocket, AF_LOCAL, SOCK_STREAM, 0 /*iProtocol*/ );244 rc = rtSocketCreate(&pThis->hSocket, AF_LOCAL, SOCK_STREAM, 0 /*iProtocol*/, false /*fInheritable*/); 245 245 if (RT_SUCCESS(rc)) 246 246 { 247 RTSocketSetInheritance(pThis->hSocket, false /*fInheritable*/);248 247 signal(SIGPIPE, SIG_IGN); /* Required on solaris, at least. */ 249 248 … … 561 560 * Create the local (unix) socket and try connect to the server. 562 561 */ 563 rc = rtSocketCreate(&pThis->hSocket, AF_LOCAL, SOCK_STREAM, 0 /*iProtocol*/ );562 rc = rtSocketCreate(&pThis->hSocket, AF_LOCAL, SOCK_STREAM, 0 /*iProtocol*/, false /*fInheritable*/); 564 563 if (RT_SUCCESS(rc)) 565 564 { 566 RTSocketSetInheritance(pThis->hSocket, false /*fInheritable*/);567 565 signal(SIGPIPE, SIG_IGN); /* Required on solaris, at least. */ 568 566
Note:
See TracChangeset
for help on using the changeset viewer.