History log of /bionic/libc/bionic/NetdClientDispatch.cpp
Revision Date Author Comments
903b78873a744d3fba187e4bd22008ba21162e51 19-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on creation (socket()) and accept4().

Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
5240b562e7e9de2f31ba70f71c394c5529aadf0f 15-May-2014 Paul Jensen <pauljensen@google.com> Query libnetd_client for the appropriate netId for host resolution.

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
559c7842cc6862568d9b5799fc0bcf74d58b596b 15-May-2014 Paul Jensen <pauljensen@google.com> Query libnetd_client for the appropriate netId for host resolution.

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().

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
72c53933f852be6d1cd6c09c86176fbc6d609dac 19-May-2014 Sreeram Ramachandran <sreeram@google.com> Cosmetic changes to netd client files.

+ 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
8f0cd8aa22906c3e678738eeba20fc1a5c399b6c 14-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on accept().

(cherry picked from commit 58b1f3f6a30a660ad81637c2b50382c3d279243b)

Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
dedf2922d5c67e8c1e457b542bd71bc53d460b53 14-May-2014 Sreeram Ramachandran <sreeram@google.com> Mark sockets on accept().

Conflicts:
libc/SYSCALLS.TXT

Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
47b93faa48170661583aecea0ad79b7d1aad8008 14-May-2014 Sreeram Ramachandran <sreeram@google.com> Fix build (take two).

Make sure __netdClientDispatch is defined in the same set of libraries that
refer to it (e.g.: with connect.cpp).

(cherry picked from commit 8205a61248973ac13716ae80e712c80e126b0541)

Change-Id: I86d7bf2df5bde09f75a35b204eac0e1361747e22
8205a61248973ac13716ae80e712c80e126b0541 14-May-2014 Sreeram Ramachandran <sreeram@google.com> Fix build (take two).

Make sure __netdClientDispatch is defined in the same set of libraries that
refer to it (e.g.: with connect.cpp).

Change-Id: I86d7bf2df5bde09f75a35b204eac0e1361747e22