From owner-freebsd-current Wed Mar 12 01:34:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA00229 for current-outgoing; Wed, 12 Mar 1997 01:34:22 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id BAA00224 for ; Wed, 12 Mar 1997 01:34:14 -0800 (PST) Received: by sovcom.kiae.su id AA13338 (5.65.kiae-1 ); Wed, 12 Mar 1997 12:01:22 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 12 Mar 97 12:01:22 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id LAA00690; Wed, 12 Mar 1997 11:47:23 +0300 (MSK) Date: Wed, 12 Mar 1997 11:47:18 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Joerg Wunsch Cc: FreeBSD-current Subject: Re: ppp & signals pending In-Reply-To: <19970311234832.KY35137@uriah.heep.sax.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 http://www.nagual.ru/~ache/