Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 1997 23:48:32 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        current@FreeBSD.ORG (FreeBSD-current)
Subject:   Re: ppp & signals pending
Message-ID:  <19970311234832.KY35137@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.95q.970312000423.1281A-100000@nagual.ru>; from ??????????????? on Mar 12, 1997 00:09:02 %2B0300
References:  <199703112004.UAA06847@awfulhak.demon.co.uk> <Pine.BSF.3.95q.970312000423.1281A-100000@nagual.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970311234832.KY35137>