summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-05-29 18:33:10 +0000
committerbrian <brian@FreeBSD.org>1998-05-29 18:33:10 +0000
commit3c804940dc0e4172a41035ca3afcfeeaa814ca6f (patch)
tree91887a8671ec07d6c0ccd49963d0db8385be68ed /usr.sbin/ppp/physical.h
parentc77a86dfe8218d1aa2b856b7849a682729a8b1c9 (diff)
downloadFreeBSD-src-3c804940dc0e4172a41035ca3afcfeeaa814ca6f.zip
FreeBSD-src-3c804940dc0e4172a41035ca3afcfeeaa814ca6f.tar.gz
o If there's a session leader left running for a descriptor
that we're now closing, manually HUP that session leader so that the tty is fully released. o Always restart our carrier detect timer in the receiving process if it was running in the sending process (as we now *always* pass the descriptor). o Tweak argv when we go into pause() mode to keep our session so that ps can see what's going on (without checking for a `pause' state in `ps -l').
Diffstat (limited to 'usr.sbin/ppp/physical.h')
-rw-r--r--usr.sbin/ppp/physical.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/physical.h b/usr.sbin/ppp/physical.h
index c99fdea..4e07d07 100644
--- a/usr.sbin/ppp/physical.h
+++ b/usr.sbin/ppp/physical.h
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: physical.h,v 1.1.2.26 1998/05/15 23:58:26 brian Exp $
+ * $Id: physical.h,v 1.2 1998/05/21 21:47:40 brian Exp $
*
*/
@@ -45,6 +45,7 @@ struct physical {
} name;
unsigned Utmp : 1; /* Are we in utmp ? */
+ pid_t session_owner; /* HUP this when closing the link */
/* XXX-ML Most of the below is device specific, and probably do not
belong in the generic physical struct. It comes from modem.c. */
OpenPOWER on IntegriCloud