Descriptionipc: split the process of creating unix domain socket into a separate function
For clarity this patch separates the process of filing sockaddr_un
(doing it first and only) in MakeUnixAddrForPath() from the process of
creating and making the unix domain socket non-blocking in another function
(only after MakeUnixAddrForPath()), called CreateUnixDomainSocket().
Because it is really weird and confusing that MakeUnixAddrForPath()
returns an non-scoped fd in case of success.
BUG=None
TEST=ipc_tests
[email protected]
Committed: https://crrev.com/8749855f3f416be125598dfd7be0ecf55ff217e6
Cr-Commit-Position: refs/heads/master@{#376666}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (4 generated)
|