{"shas":[["4cae3fa3d6281bcd05419fbf8d5f2192ebd79379","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","Let SocketClient users write binary data to clients.\n\nThis is a dependency for the DNS proxy CLs.\n\nThis CL also adds a new socket for the netd process to inherit which\nis owned by the inet group.  (so only apps with the INTERNET\npermission can use the DNS proxy...)\n\nChange-Id: I8a51924e0ed56c6066f77e6f1b02d39bdadac51e","Brad Fitzpatrick"],["177909db209ff0b6d34ecbff6fd5d80311f6a949","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","Permit 0 length writes.\n\nChange-Id: I087d0074c8d9e13ce814187475966da94f693fc0","Brad Fitzpatrick"],["84cd7a948ec700abde2364898d08e15f8807214e","dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","libsysutils: Handle EINTR in SocketClient::sendData()\n\n+ Improve allocation code in sendMsg(code,msg,addErrno)\n\nChange-Id: Ib5fe84bec1a167c369e7ba759acea395e832f6b5","David 'Digit' Turner"],["9e5044afa38f06f577bc44d1904f18352b74a510","dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","libsysutils: Fix race condition in SocketListener thread.\n\n+ Handle EINTR in accept(), write() and select()\n+ Fix a memory leak when deleting the mClients list\n+ Fix typo in SocketListener.h\n\nChange-Id: Ie68bb3e2dbefe0dfdaa22a5cd06a42dbc4c0f8aa","David 'Digit' Turner"],["bfae8108b046b59b92a8230b41f3e0c5dac3c8b4","dcb93bd72059500c1226ad16fdd58ffe25c9e0ea@google.com","libsysutils: Fix a file descriptor leak.\n\nThe recent refactoring of the select() loop in SocketListener\nmissed a close() of the file descriptor when the onDataAvailable()\ncallback returns false.\n\nChange-Id: I767caefab4b98ab350f2db2497ee2bd630f20850","David 'Digit' Turner"],["7ae2f9a5d619b88a2c51e4539de2dccb8d4a87fa","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","SocketClient: add optional reference counting\n\nNeeded to fix a race in netd.\n\nBug: 3438459\nChange-Id: Icd7f5f035510235f733a25c0621479d3e644b152","Brad Fitzpatrick"],["9ebb64dcb4130c422884458f95999b7d5b924bef","ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@android.com","Fix potential race introduced in Icd7f5f03\n\nDigit wrote:\n\n\"You probably don't want to close the socket here without updating\nc->socket as well. Otherwise, another thread holding a handle to the\nclient after the c->decRef() could end up sending a message to a\ndifferent socket, if the file descriptor index is reused by another\nclient in the meantime.\"\n\nChange-Id: Icdefb5ffc0c7607325d7db761e1f04e5d868bfb7","Brad Fitzpatrick"],["e9ea1ade0d4a2e78cc91dbb1e466ddda957b3f25","0d216168d6c4f83410e4fa17a56d762f8c0260fc@foilhead.net","libsysutils: SocketListener: handle recv errors more gracefully.\n\nDon't close the socket when onDataAvailable returns false if the socket\nis connectionless.\n\nChange-Id: Ie19497f5928144c463d92aa72ba517e675549ea6","Vernon Tang"]],"ref":"refs/heads/cyanogen","size":8,"head":"e9ea1ade0d4a2e78cc91dbb1e466ddda957b3f25","push_id":43065593}