CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2011/05/09 06:08:47

Modified files:
        usr.sbin/relayctl: relayctl.c 
        usr.sbin/relayd: Makefile check_icmp.c check_script.c control.c 
                         hce.c parse.y pfe.c pfe_route.c relay.c 
                         relay_udp.c relayd.c relayd.h snmp.c 

Log message:
Reorganize the relayd code to use the proc.c privsep API/commodity
functions that are based on work for iked and smtpd.  This simplifies
the setup of privsep processes and moves some redundant and repeated
code to a single place - which is always good from a quality and
security point of view.  The relayd version of proc.c is different to
the current version in iked because it uses 1:N communications between
processes, eg. a single parent process is talking to many forked relay
children while iked only needs 1:1 communications.

ok sthen@ pyr@

Reply via email to