aboutsummaryrefslogtreecommitdiffstats
path: root/libc/bionic/NetdClientDispatch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mark sockets on creation (socket()) and accept4().Sreeram Ramachandran2014-05-191-2/+4
| | | | | | Remove the separate syscall for accept() and implement it as accept4(..., 0). Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
* Query libnetd_client for the appropriate netId for host resolution.Paul Jensen2014-05-191-0/+5
| | | | | | | | | | If libnetd_client can't be found, operate as before and use the default netId potentially overriden by a more specific netId passed in to android_get*fornet(). (cherry picked from commit 559c7842cc6862568d9b5799fc0bcf74d58b596b) Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
* Cosmetic changes to netd client files.Sreeram Ramachandran2014-05-181-2/+4
| | | | | | | | | | + Name the dispatch header correctly (NetdClientDispatch.h). + Hide the global dispatch variable (__netdClientDispatch). + Explain why it's okay to read the variable without locking. + Use quotes instead of angle-brackets for non-system includes. + Add necessary declarations for C compiles (and not just C++). Change-Id: Id0932165e71d81da5fce77a684f40c2263f58e61
* Mark sockets on accept().Sreeram Ramachandran2014-05-141-1/+3
| | | | | | (cherry picked from commit 58b1f3f6a30a660ad81637c2b50382c3d279243b) Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
* Fix build (take two).Sreeram Ramachandran2014-05-131-0/+29
Make sure __netdClientDispatch is defined in the same set of libraries that refer to it (e.g.: with connect.cpp). Change-Id: I86d7bf2df5bde09f75a35b204eac0e1361747e22