The proc.c code sets up some socketpair for the communication between
authorreyk <reyk@openbsd.org>
Fri, 18 Apr 2014 12:02:37 +0000 (12:02 +0000)
committerreyk <reyk@openbsd.org>
Fri, 18 Apr 2014 12:02:37 +0000 (12:02 +0000)
commitfc292d035c64b33bdba91f287b55fd51ab365dc3
tree717fc7bc1a3c411dda416a0e9938d730af319bdc
parenta9ddc28608c80433f03eded670401243dac5208d
The proc.c code sets up some socketpair for the communication between
different privsep processes.  The implementation is using
multi-dimensional arrays and and some complicated process to process
relations.  This is the first attempt of cleaning it up and to allow
N:N communications for the upcoming "CA" processes.

Discussed with some, but nobody dared to comment on the code.
usr.sbin/relayd/proc.c
usr.sbin/relayd/relayd.h