From owner-freebsd-current Tue Mar 11 15:03:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA17029 for current-outgoing; Tue, 11 Mar 1997 15:03:35 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA17008 for ; Tue, 11 Mar 1997 15:03:27 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA12928 for current@FreeBSD.ORG; Wed, 12 Mar 1997 00:03:25 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id XAA04339; Tue, 11 Mar 1997 23:48:33 +0100 (MET) Message-ID: <19970311234832.KY35137@uriah.heep.sax.de> 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 References: <199703112004.UAA06847@awfulhak.demon.co.uk> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from ??????????????? on Mar 12, 1997 00:09:02 +0300 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)