From owner-freebsd-current Tue Mar 11 09:29:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA21786 for current-outgoing; Tue, 11 Mar 1997 09:29:46 -0800 (PST) Received: from nic.follonett.no (nic.follonett.no [194.198.43.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA21759 for ; Tue, 11 Mar 1997 09:29:31 -0800 (PST) Received: (from uucp@localhost) by nic.follonett.no (8.8.5/8.8.3) with UUCP id SAA25604; Tue, 11 Mar 1997 18:25:25 +0100 (MET) Received: from oo7 (oo7.dimaga.com [192.0.0.65]) by dimaga.com (8.7.5/8.7.2) with SMTP id SAA25564; Tue, 11 Mar 1997 18:31:05 +0100 (MET) Message-Id: <3.0.32.19970311182952.00ca33a0@dimaga.com> X-Sender: eivind@dimaga.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 11 Mar 1997 18:29:54 +0100 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= From: Eivind Eklund Subject: Re: ppp Cc: Bruce Evans , brian@awfulhak.demon.co.uk, brian@utell.co.uk, current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 06:41 PM 3/11/97 +0300, =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: >On Wed, 12 Mar 1997, Bruce Evans wrote: > >> All systems. The kernel doesn't count signals, so if ppp isn't run for >> more than 1.2 seconds then it will miss some alarms. However, this probably >> isn't important since it will miss much more than alarms :-). There may be >> problems with closer-spaced alarms if ppp wants to count them. > >The big difference here is pended (delayed) and not pended signals >handling. PPP code was written in assumptions that SIGALRM reaction >is not delayed, so if we trust developer, he choose timeout + handler >action in the way that signals not missed. That would surprise me. Every other 'weird' condition (like malloc returning NULL, or lines not being the apropriate length) seems to be assumed to never happen - why should we assume the signal handling was robust when nothing else is? (I'll try to finish off the patches to those problems and send to Brian Real Soon Now.) Eivind Eklund perhaps@yes.no http://maybe.yes.no/perhaps/ eivind@freebsd.org