Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 11:47:18 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        FreeBSD-current <current@freebsd.org>
Subject:   Re: ppp & signals pending
Message-ID:  <Pine.BSF.3.95q.970312114618.674A-100000@nagual.ru>
In-Reply-To: <19970311234832.KY35137@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Mar 1997, J Wunsch wrote:

> As ??????????????? wrote:
> 
> > HUP must never come during normal mode because modem is not control
> > terminal for PPP. PPP code strangely use every second carrier check
> > instead of using HUP on control terminals.
> 
> Acquiring a controlling tty different from the current one is only
> possible by allocating a new session first (setsid()), which is only
> possible by forking first.  Thus, only a true daemon can do it.
> IIJPPP doesn't always want to be a true daemon.

It does fork/setsid, but not change controlling terminal to modem (CTTY). 

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970312114618.674A-100000>