MFC ...
r210609 - remove unused string
r210610 - avoid copy ctors by using prefix operators
r213646 - allow spacey things (liberal whitespace parsing)
r236388 - libc++ compatibility (add :: prefix to bind() call)
r240823 - use O_CLOEXEC for open instead of separate fcntl(2) call
r243932 - prefer init expression to assignment in ctor
r209583 ...
Expand system into my_system, and add the necessary tidyness that we
need. Close the pidfile. Then close all descriptors >= 3 to avoid
information leakage to children.
This solves the problem of not being able to restart devd when you
have, for example, a dhclient forked to configure your network...
git-svn-id: svn://svn.freebsd.org/base/stable/8@247824
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f