summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2001-07-04 03:33:42 +0000
committerbrian <brian@cvs.openbsd.org>2001-07-04 03:33:42 +0000
commit50f93997dd232b14a90b7fae18ef1878e977423c (patch)
treeba501c1f8a47119d09cb8286d852dab510fb4838 /usr.bin/passwd
parentf36e6dc435ec99d35c4b12b2c5f4cda0bbec9c66 (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.bin/passwd')
0 files changed, 0 insertions, 0 deletions