CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2016/10/15 18:08:31
Modified files: usr.sbin/rebound: rebound.c Log message: switch to a re-exec model instead of plain forking to reduce sharing. this shuffles about some of the initialization code and consolidates all the worker initialization in one place. the parent process runs the monitor loop and execs workers via -W, which then drop immediately into the worker loop. file descriptors currently inherited across exec, which probably exceeds safe magic levels, but fits the existing model without too many changes.