summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-04 03:34:20 +0000
committerbrian <brian@FreeBSD.org>2001-07-04 03:34:20 +0000
commit746c94eef49c16fd453841bbf10d856057837480 (patch)
tree7a9a6d5a608388edca4eee1f442419c937608a1b /usr.sbin/ppp/defs.c
parent33e85623fa7950794d670bf31ce9bde30f6422b5 (diff)
downloadFreeBSD-src-746c94eef49c16fd453841bbf10d856057837480.zip
FreeBSD-src-746c94eef49c16fd453841bbf10d856057837480.tar.gz
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. MFC after: 1 week
Diffstat (limited to 'usr.sbin/ppp/defs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud