Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Bettison
490d9ef472 Only define struct ucred if <sys/socket.h> does not provide it 2012-05-03 14:50:14 +09:30
gardners
75e925a8b5 added some debug for monitor interface. 2012-05-03 14:41:18 +09:30
gardners
ac9cbb4e51 removed debugging now that accept doesn't block 2012-05-03 13:42:41 +09:30
gardners
29a7c20160 fixed a blocking io problem. 2012-05-03 13:37:18 +09:30
gardners
61aa3994b6 try to force accept to be non-blocking. 2012-05-03 13:29:48 +09:30
gardners
9dedb6fd06 more debugging to find why servald blocks after accepting a
monitor client.
2012-05-03 13:19:11 +09:30
gardners
4bbe250595 make sure monitor sockets are nonblocking before doing anything
to them.
2012-05-03 13:04:17 +09:30
gardners
5d6f2b0517 added note about path name length calculation for unix domain
abstract socket.
2012-05-03 12:35:16 +09:30
gardners
f1c6b74235 fixed struct ucred handling for android 2012-05-03 12:20:52 +09:30
gardners
01e81200d0 adding credentials check for abstract name space unix domain socket
for monitor service.
2012-05-03 12:11:13 +09:30
gardners
2e549a0f96 Switching to abstract name space for socket to get around
permission denied errors.
2012-05-03 11:10:23 +09:30
gardners
0c060ce782 found real cause and fixed for poll()/linux bug (forgot to listen) 2012-05-03 04:00:26 +09:30
gardners
eb8e34bcde make sure monitor interface announces creation of new calls. 2012-05-03 03:41:26 +09:30
gardners
25f81aeaaf fixed bug with cancelling calls due to lack of listeners.
worked around poll() with accept() unix domain socket linux bug.
generally hooked in the unix domain stream socket interface for
monitoring calls (and later rhizome).
2012-05-03 03:37:03 +09:30
gardners
eb8ffeb71f progress towards monitor interface for following calls. 2012-05-03 03:00:34 +09:30
gardners
d637f31ab7 work towards stream unix domain socket to allow Android/Java
monitoring of call status and rhizome bundle arrivals.
2012-05-03 02:31:12 +09:30