diff options
author | brian <brian@cvs.openbsd.org> | 2001-07-04 03:33:42 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 2001-07-04 03:33:42 +0000 |
commit | 50f93997dd232b14a90b7fae18ef1878e977423c (patch) | |
tree | ba501c1f8a47119d09cb8286d852dab510fb4838 /usr.sbin/named/conf/portability.h | |
parent | f36e6dc435ec99d35c4b12b2c5f4cda0bbec9c66 (diff) |
Handle any of descriptors 0, 1 or 2 being closed when we're
envoked -- don't use them (as return values from open()), then
(say) close(STDIN_FILENO) when daemonising.
This is done by grabbing 3 descriptors to /dev/null at startup and
releasing them after we've daemonised.
Diffstat (limited to 'usr.sbin/named/conf/portability.h')
0 files changed, 0 insertions, 0 deletions