Date: Tue, 3 Jul 2001 20:34:20 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp main.c Message-ID: <200107040334.f643YKx49662@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2001/07/03 20:34:20 PDT Modified files: usr.sbin/ppp main.c Log: 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 Revision Changes Path 1.181 +19 -2 src/usr.sbin/ppp/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107040334.f643YKx49662>