Brad Fitzpatrick
b9634d05cf
Permit 0 length writes.
...
Change-Id: I087d0074c8d9e13ce814187475966da94f693fc0
2011-01-06 11:16:15 -08:00
Brad Fitzpatrick
a2a1f3149f
Let SocketClient users write binary data to clients.
...
This is a dependency for the DNS proxy CLs.
This CL also adds a new socket for the netd process to inherit which
is owned by the inet group. (so only apps with the INTERNET
permission can use the DNS proxy...)
Change-Id: I8a51924e0ed56c6066f77e6f1b02d39bdadac51e
2011-01-06 11:09:55 -08:00
Kenny Root
30abb7234d
Fetch peer credentials for local sockets
...
Fetch the PID, UID, and GID of the remote side of a local socket
connection in case any users of this library class want to check it.
Change-Id: Ia3230e6bc68ab6f93160df9f5996d2bf744b872c
2010-09-14 14:35:10 -07:00
San Mehat
7e8529a8b5
system/core: Switch libsysutils & sched_policy LOG -> SLOG
...
Change-Id: Id74c6895a8012c5915f2e259339101844de7c085
Signed-off-by: San Mehat <san@google.com>
2010-03-25 09:31:42 -07:00
San Mehat
c73a3a5771
libsysutils: Move to a null terminated string protocol using space as a field separator.
...
Also removes some debugging
Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:06:03 -07:00
San Mehat
03f0d27f6c
libsysutils: Fix command argument passing bug + whitespace cleanup
...
Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:25:45 -07:00
San Mehat
db01754579
libsysutils: const correctness fixes + remove some debugging
...
Signed-off-by: San Mehat <san@google.com>
2009-05-20 17:16:05 -07:00
San Mehat
df6c1b91e3
libsysutils: General clean up + disable build in simulator builds
...
Signed-off-by: San Mehat <san@google.com>
2009-05-13 09:10:01 -07:00
San Mehat
d768066ef5
libsysutils: Tweak SocketListener and friends
...
Signed-off-by: San Mehat <san@google.com>
2009-05-12 14:02:32 -07:00
San Mehat
fa644ffe94
libsysutils: Add multiple client support and fix some bugs
2009-05-10 09:26:42 -07:00