Date: Fri, 1 May 1998 12:22:26 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c chat.c command.c modem.c physical.c physical.h Message-ID: <199805011922.MAA16136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/05/01 12:22:25 PDT
Modified files: (Branch: MP)
usr.sbin/ppp bundle.c chat.c command.c modem.c
physical.c physical.h
Log:
o Explicitly set the close-on-exec flag of descriptor 3 before
exec()ing. Tidy up file dups in general prior to exec().
This prevents our tun device (fd 3) from staying open (and
configured) despite handing off all it's links and exiting
(because ``cat'' holds it open).
o Don't bother SIG_DFL'ing signals before exec() as they're
already trapped with specific handlers and will be handled
correctly by the exec.
o Use values from paths.h for "/dev/" and "/dev/tty".
o Don't assert() in physical.c.
Revision Changes Path
1.1.2.67 +2 -1 src/usr.sbin/ppp/Attic/bundle.c
1.44.2.28 +11 -19 src/usr.sbin/ppp/chat.c
1.131.2.76 +4 -7 src/usr.sbin/ppp/command.c
1.77.2.62 +5 -3 src/usr.sbin/ppp/modem.c
1.1.2.29 +2 -14 src/usr.sbin/ppp/Attic/physical.c
1.1.2.23 +1 -2 src/usr.sbin/ppp/Attic/physical.h
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?199805011922.MAA16136>
