Luke Howard
73fde33757
KCM: restore support for Solaris doors IPC mechanism ( #379 )
...
This patch restores support for the Solaris doors IPC mechanism, removed
from KCM when lib/ipc was added.
2018-05-13 15:31:13 +10:00
Luke Howard
0c51e7c6ab
IPC: use getpeerucred() API correctly ( #382 )
...
The ucred_t argument must be initialized to zero otherwise it is assumed to
point to allocated memory. Also, the logic is inverted: getpeerucred()
returns zero on success, not failure.
2018-05-12 14:40:56 +10:00
Nicolas Williams
f38089257b
Misc fixes (coverity)
2016-11-20 17:43:51 -06:00
Love Hörnquist Åstrand
37afa01be3
rename roken base64, fixes #107
2014-08-22 20:57:24 -07:00
Love Hörnquist Åstrand
6294c36526
avoid -Wshadow
2012-11-22 17:27:21 -08:00
Love Hörnquist Åstrand
25e533421a
wrap SOL_SOCKET, SO_PEERCRED in ifdef __linux__
2012-03-11 10:18:43 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
88d0a76209
wrap older mach code with __MAC_OS_X_VERSION_MIN_REQUIRED
2010-11-25 10:29:32 -08:00
Love Hornquist Astrand
3789b1111e
stop if there is not enough data
2010-10-07 00:01:06 -07:00
Love Hornquist Astrand
a3746c9f07
handle unix credentials
2010-10-06 23:32:36 -07:00
Love Hornquist Astrand
bac0598ce6
cancel sources
2010-09-08 09:45:40 -07:00
Love Hornquist Astrand
0f5267b97f
Make http connections work
2010-01-06 12:53:52 +01:00
Love Hornquist Astrand
1354b6650b
clean up http support
2010-01-06 10:42:28 +01:00
Love Hornquist Astrand
2711882f3f
Add bits to support HTTP in server
2010-01-04 16:11:18 +01:00
Love Hornquist Astrand
42ba3389db
make work with poll
2009-11-23 17:52:46 -08:00
Love Hornquist Astrand
7d1e32e6d9
timeout depends on gcd for now
2009-11-23 17:49:11 -08:00
Love Hornquist Astrand
032385d3aa
remove debug printf
2009-11-23 17:31:05 -08:00
Love Hornquist Astrand
d4a562ebe6
handle gcd for sockets too
2009-11-23 17:28:56 -08:00
Love Hornquist Astrand
ca876988d7
add gcd version, less bits on pipe, run socket in non-blocking mode
2009-11-23 12:47:39 -08:00
Love Hornquist Astrand
149898ec28
mkae compile
2009-11-23 09:19:49 -08:00
Love Hornquist Astrand
e849f2302b
simplify
2009-11-23 08:31:06 -08:00
Love Hornquist Astrand
4c69333255
use socket_set_reuseaddr
2009-11-23 08:29:34 -08:00
Love Hornquist Astrand
ec2003ce09
close fd if we are not gcd
2009-11-23 08:25:10 -08:00
Love Hornquist Astrand
6e8515e3a8
listen on unix socket and stream fd
2009-11-23 08:02:54 -08:00
Love Hornquist Astrand
960b6d9cc5
Its a stream fd, dgram later
2009-11-23 07:30:46 -08:00
Love Hornquist Astrand
60f6593f63
start for poll() based implementation
2009-11-23 07:28:17 -08:00
Love Hornquist Astrand
607bae3c9e
glue in working autoconf logic
2009-11-21 22:58:59 -08:00
Love Hornquist Astrand
7bb7bd72ab
make compile and remove warnings
2009-11-21 17:12:38 -08:00
Love Hornquist Astrand
5c53c3d7ba
add dependency on HAVE_LIBDISPATCH
2009-11-21 16:09:43 -08:00
Love Hornquist Astrand
d0178934a1
basic ipc framework
2009-11-21 10:25:30 -08:00