From owner-freebsd-standards@FreeBSD.ORG Mon Jun 23 01:50:27 2003 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0794A37B401; Mon, 23 Jun 2003 01:50:27 -0700 (PDT) Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA62743FAF; Mon, 23 Jun 2003 01:50:12 -0700 (PDT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5) with ESMTP id h5N8nQK22074; Mon, 23 Jun 2003 10:49:26 +0200 Received: (from stolz@localhost)h5N8nNUA000497; Mon, 23 Jun 2003 10:49:23 +0200 (CEST) (envelope-from stolz) Date: Mon, 23 Jun 2003 10:49:23 +0200 From: Volker Stolz To: Wartan Hachaturow Message-ID: <20030623084923.GA450@i2.informatik.rwth-aachen.de> References: <200306201421.h5KELfUh011622@menelaos.informatik.rwth-aachen.de> <20030621163449.GA19155@mojo.tepkom.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030621163449.GA19155@mojo.tepkom.ru> X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.3i cc: simonmar@microsoft.com cc: standards@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org cc: rwatson@freebsd.org Subject: Re: standards/53554 fix for review (Re: interval timers not cleared in fork()) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 08:50:27 -0000 On Sat, Jun 21, 2003 at 08:34:49PM +0400, Wartan Hachaturow wrote: > On Fri, Jun 20, 2003 at 04:21:42PM +0200, Volker Stolz wrote: > > > SUSv2 says that on invoking fork(): > > - If the Timers option is supported, per-process timers created by the > > parent are not inherited by the child process. > > SUSv3 requires this as well. > This is a quick fix (for 5.1, it's also affected): The patch applies fine to -STABLE and has the desired effect: virtual set: 1 500 real get: 0 0 prof get: 0 0 virtual get: 0 0 Thanks for looking into this! Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine