OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Henning Brauer (henningcvs.openbsd.org)
Date: Sun Jun 20 2004 - 12:49:47 CDT


CVSROOT: /cvs
Module name: src
Changes by: henningcvs.openbsd.org 2004/06/20 11:49:46

Modified files:
        usr.sbin/bgpd : bgpd.c bgpd.h buffer.c config.c imsg.c
                         session.c session.h

Log message:
implement file descriptor passing in the imsg/msgbuf framework, and use
it to let the main process to prepare new listening sockets (socket() and
bind()) on behalf of the session engine, which of course cannot bind() to
ports < 1024 any more once it dropped privileges. with some help from theo,
claudio ok